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

@@ -682,9 +682,12 @@ int main(int argc, char **argv)
while (*p != OPTION_END)
{
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);
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;
}
}