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
This commit is contained in:
Simon Goldschmidt 2020-01-12 20:34:18 +01:00
parent 8a8058a436
commit d6b5b5222f

View File

@ -2494,7 +2494,7 @@
* network startup. * network startup.
*/ */
#if !defined LWIP_IPV6_SEND_ROUTER_SOLICIT || defined __DOXYGEN__ #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 #endif
/** /**