From 61349cf1243c1d2f3ddcb5c608daa6e3bbaf9058 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 1e10cc6a..a6b50daa 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -2451,7 +2451,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 /**