projects
/
project
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e247d
)
dhcpv6: sanitize oro options
author
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 6 Sep 2019 20:09:29 +0000
(22:09 +0200)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 6 Sep 2019 20:14:58 +0000
(22:14 +0200)
Remove SOL_MAX_RT and INF_MAX_RT from the non-strict oro option
array as both options will be added anyway by the required oro
option array
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 5378010310d1ae35b29fd7ef1b5c9b0f0a5115f8..bd8a2dcf4b0af3214878abbbb4fad797dec26c22 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-186,8
+186,6
@@
int init_dhcpv6(const char *ifname, unsigned int options, int sol_timeout)
htons(DHCPV6_OPT_NTP_SERVER),
htons(DHCPV6_OPT_AFTR_NAME),
htons(DHCPV6_OPT_PD_EXCLUDE),
- htons(DHCPV6_OPT_SOL_MAX_RT),
- htons(DHCPV6_OPT_INF_MAX_RT),
#ifdef EXT_CER_ID
htons(DHCPV6_OPT_CER_ID),
#endif