summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Dedecker2019-09-06 20:09:29 +0000
committerHans Dedecker2019-09-06 20:14:58 +0000
commite199804b602a48eb69f0752584c0ad28495b82ad (patch)
tree5e4aa433d436030d7be971b076312c6c396c6702
parentd2e247d8d87ecf8c60fcf0acdad05667bd379521 (diff)
downloadodhcp6c-e199804b602a48eb69f0752584c0ad28495b82ad.tar.gz
dhcpv6: sanitize oro options
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>
-rw-r--r--src/dhcpv6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c
index 5378010..bd8a2dc 100644
--- 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