feat(lwip): Add LWIP_ND6_RDNSS_MAX_DNS_SERVERS to menuconfig

fixs: https://github.com/espressif/ESP8266_RTOS_SDK/issues/332
This commit is contained in:
Zhang Jun Hao
2018-10-10 21:25:51 +08:00
parent 93e9b1c3d3
commit 6fcf4ba8a8
2 changed files with 9 additions and 1 deletions

View File

@ -470,6 +470,14 @@ config LWIP_IPV6_FRAG
depends on LWIP_IPV6
default n
config LWIP_ND6_RDNSS_MAX_DNS_SERVERS
bool "The IPv6 ND6 RDNSS max DNS servers"
depends on LWIP_IPV6
default n
help
Use IPv6 Router Advertisement Recursive DNS Server Option (as per RFC 6106)
to copy a defined maximum number of DNS servers to the DNS module
config LWIP_STATS
bool "Enable statistics collection in lwip_stats"
default n

View File

@ -1889,7 +1889,7 @@ void *memp_malloc_ll(size_t type);
* DNS Server Option (as per RFC 6106) to copy a defined maximum number of DNS
* servers to the DNS module.
*/
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS 0
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS CONFIG_LWIP_ND6_RDNSS_MAX_DNS_SERVERS
/**
* @}
*/