diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 221a7526..aaeef468 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -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 diff --git a/components/lwip/port/esp8266/include/lwipopts.h b/components/lwip/port/esp8266/include/lwipopts.h index b4203ae6..28002443 100644 --- a/components/lwip/port/esp8266/include/lwipopts.h +++ b/components/lwip/port/esp8266/include/lwipopts.h @@ -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 /** * @} */