diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-06-07 17:33:27 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-06-07 17:36:10 +0200 |
commit | c2ff5af44096a34423389be0ef64bfd2aa61371e (patch) | |
tree | bd1b0e58fe4230f2589a4b978d3dc554fb2ef05e /src/dhcpv6-ia.c | |
parent | 676eb383867f9bcbf3a692fc56eadff6d7cfc72c (diff) |
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 <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r-- | src/dhcpv6-ia.c | 3 |
1 files changed, 0 insertions, 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"; |