projects
/
project
/
odhcp6c.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dhcpv6: fix regression
[project/odhcp6c.git]
/
src
/
dhcpv6.c
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 56992968055bfed12d6625c388a5a93e6132619b..e81918935756b08fd0801f3f2778008cb57710a6 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-869,7
+869,7
@@
static int dhcpv6_handle_reconfigure(enum dhcpv6_msg orig, const int rc,
if (msg != DHCPV6_MSG_UNKNOWN)
dhcpv6_handle_reply(orig, rc, NULL, NULL, NULL);
- return (msg == DHCPV6_MSG_UNKNOWN? -1:
1
);
+ return (msg == DHCPV6_MSG_UNKNOWN? -1:
(int)msg
);
}
// Collect all advertised servers