From 227ddad9b5b120c6045dca9936a60a3b4691c23c Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 24 Oct 2013 17:47:00 +0100 Subject: [PATCH] Fix logic botch in quiet-dhcp option. --- src/rfc2131.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rfc2131.c b/src/rfc2131.c index d339fc9..a49e076 100644 --- a/src/rfc2131.c +++ b/src/rfc2131.c @@ -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 */