From e199804b602a48eb69f0752584c0ad28495b82ad Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Fri, 6 Sep 2019 22:09:29 +0200 Subject: [PATCH] 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 --- src/dhcpv6.c | 2 -- 1 file changed, 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 -- 2.30.2