mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 02:08:24 +00:00
Omit message type from leasequery.c option dump.
This commit is contained in:
@@ -682,9 +682,12 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
while (*p != OPTION_END)
|
while (*p != OPTION_END)
|
||||||
{
|
{
|
||||||
char *optname = option_string(p[0], option_ptr(p, 0), option_len(p), buff, 500);
|
if (*p != OPTION_MESSAGE_TYPE)
|
||||||
|
{
|
||||||
printf("size:%3d option:%3d %s %s\n", option_len(p), p[0], optname, buff);
|
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;
|
p += p[1] + 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user