From: Hans Dedecker Date: Fri, 6 Sep 2019 20:09:29 +0000 (+0200) Subject: dhcpv6: sanitize oro options X-Git-Url: http://git.openwrt.org/source?a=commitdiff_plain;h=e199804b602a48eb69f0752584c0ad28495b82ad;p=project%2Fodhcp6c.git 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 --- 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