projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676eb38
)
dhcpv6-ia: log renew messages as well
author
Hans Dedecker
<dedeckeh@gmail.com>
Thu, 7 Jun 2018 15:33:27 +0000
(17:33 +0200)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Thu, 7 Jun 2018 15:36:10 +0000
(17:36 +0200)
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>
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index e94dc381d93634812e848b8d0e3465bc204d02b8..1c94a65648b87bffc57c9a3fbe897b102a5b7777 100644
(file)
--- 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";