mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-02 13:30:32 +00:00
Fix logic botch in quiet-dhcp option.
This commit is contained in:
1 parent
a9bf81ad91
commit
227ddad9b5
1 file changed
+1
-1
+1
-1
@@ -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