Omit message type from leasequery.c option dump.

This commit is contained in:
Simon Kelley
2025-04-04 22:42:44 +01:00
parent 4fbe1add95
commit 43805c1859

View File

@@ -681,10 +681,13 @@ int main(int argc, char **argv)
p = (unsigned char *)(((unsigned int *)&pkt.options[0]) + 1);
while (*p != OPTION_END)
{
if (*p != OPTION_MESSAGE_TYPE)
{
char *optname = option_string(p[0], option_ptr(p, 0), option_len(p), buff, 500);
printf("size:%3d option:%3d %s %s\n", option_len(p), p[0], optname, buff);
}
p += p[1] + 2;
}
}