From: Hans Dedecker Date: Thu, 7 Jun 2018 15:33:27 +0000 (+0200) Subject: dhcpv6-ia: log renew messages as well X-Git-Url: http://git.openwrt.org/?p=project%2Fodhcpd.git;a=commitdiff_plain;h=c2ff5af44096a34423389be0ef64bfd2aa61371e dhcpv6-ia: log renew messages as well As the odhcpd log verbosity is configurable log renew messages as well. Fixes logically dead code reported by Coverity in CID1412318 Signed-off-by: Hans Dedecker --- diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index e94dc38..1c94a65 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -1011,9 +1011,6 @@ static void dhcpv6_log(uint8_t msgtype, struct interface *iface, time_t now, const char *type = "UNKNOWN"; const char *status = "UNKNOWN"; - if (msgtype == DHCPV6_MSG_RENEW) - return; - switch (msgtype) { case DHCPV6_MSG_SOLICIT: type = "SOLICIT";