mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Supply zero preference in advertise and reply messages
This commit is contained in:
@@ -580,7 +580,7 @@ char *option_string(int prot, unsigned int opt, unsigned char *val, int opt_len,
|
||||
break;
|
||||
}
|
||||
|
||||
if (buf && (!ot[o].name || nodecode))
|
||||
if (opt_len != 0 && buf && (!ot[o].name || nodecode))
|
||||
{
|
||||
int trunc = 0;
|
||||
if (opt_len > 13)
|
||||
|
||||
Reference in New Issue
Block a user