<html tabindex="-1" style="-ms-scrollbar-base-color: rgb(0, 0, 0); -ms-scrollbar-face-color: rgb(240, 240, 240); -ms-scrollbar-3dlight-color: rgb(227, 227, 227); -ms-scrollbar-shadow-color: rgb(160, 160, 160); -ms-scrollbar-highlight-color: rgb(255, 255, 255); -ms-scrollbar-darkshadow-color: rgb(105, 105, 105); -ms-scrollbar-arrow-color: rgb(0, 0, 0);">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<meta name="GENERATOR" content="MSHTML 10.00.9200.16721">
<style id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body tabindex="0" style="" dir="ltr" aria-label="Message body" fPStyle="1">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<p>Hi Simon,</p>
<p> </p>
<p>I think there's a bug in the quiet-dhcp option.  In essence no dhcpv4 logging is performed unless the log option is also enabled.  I think the code should be:</p>
<p> </p>
<p>diff --git a/src/rfc2131.c b/src/rfc2131.c<br>
index 0ee7c90..dd67509 100644<br>
--- a/src/rfc2131.c<br>
+++ b/src/rfc2131.c<br>
@@ -1543,7 +1543,7 @@ static void log_packet(char *type, void *addr, unsigned ch<br>
   struct in_addr a;<br>
 <br>
  <br>
-  if (!err && (!option_bool(OPT_LOG_OPTS) || option_bool(OPT_QUIET_DHCP)))<br>
+  if (!err && !option_bool(OPT_LOG_OPTS) && option_bool(OPT_QUIET_DHCP))<br>
     return;<br>
   <br>
   /* addr may be misaligned */<br>
</p>
</div>
</body>
</html>