From d6b5b5222f2db5d953bd26487fcbc2e0628d531f Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Sun, 12 Jan 2020 20:34:18 +0100 Subject: [PATCH] opt: make LWIP_IPV6_SEND_ROUTER_SOLICIT default to LWIP_IPV6 This ensures struct netif doesn't contain 'rs_count' if LWIP_IPV6 is disabled but LWIP_IPV6_SEND_ROUTER_SOLICIT is at its default. See bug #56509 --- src/include/lwip/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 488adf63..f398292d 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -2494,7 +2494,7 @@ * network startup. */ #if !defined LWIP_IPV6_SEND_ROUTER_SOLICIT || defined __DOXYGEN__ -#define LWIP_IPV6_SEND_ROUTER_SOLICIT 1 +#define LWIP_IPV6_SEND_ROUTER_SOLICIT LWIP_IPV6 #endif /**