Commit 227ddad9 authored by Kevin Darbyshire-Bryant's avatar Kevin Darbyshire-Bryant Committed by Simon Kelley

Fix logic botch in quiet-dhcp option.

parent a9bf81ad
...@@ -1542,7 +1542,7 @@ static void log_packet(char *type, void *addr, unsigned char *ext_mac, ...@@ -1542,7 +1542,7 @@ static void log_packet(char *type, void *addr, unsigned char *ext_mac,
{ {
struct in_addr a; 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; return;
/* addr may be misaligned */ /* addr may be misaligned */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment