mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix logic botch in quiet-dhcp option.
This commit is contained in:
committed by
Simon Kelley
parent
a9bf81ad91
commit
227ddad9b5
@@ -1542,7 +1542,7 @@ static void log_packet(char *type, void *addr, unsigned char *ext_mac,
|
||||
{
|
||||
struct in_addr a;
|
||||
|
||||
if (!err && (!option_bool(OPT_LOG_OPTS) || option_bool(OPT_QUIET_DHCP)))
|
||||
if (!err && !option_bool(OPT_LOG_OPTS) && option_bool(OPT_QUIET_DHCP))
|
||||
return;
|
||||
|
||||
/* addr may be misaligned */
|
||||
|
||||
Reference in New Issue
Block a user