commit | 227ddad9b5b120c6045dca9936a60a3b4691c23c | [log] [tgz] |
---|---|---|
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | Thu Oct 24 17:47:00 2013 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Thu Oct 24 17:47:00 2013 +0100 |
tree | a3a6e435dc232830663a78442a6571f068071f75 | |
parent | a9bf81ad91335b9de0f1fd038614983eb81fbfa7 [diff] [blame] |
Fix logic botch in quiet-dhcp option.
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 @@ { 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 */