From c2ff5af44096a34423389be0ef64bfd2aa61371e Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 7 Jun 2018 17:33:27 +0200 Subject: [PATCH] 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 --- src/dhcpv6-ia.c | 3 --- 1 file changed, 3 deletions(-) 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"; -- 2.30.2