mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
Merge branch 'feature/add_rdnss_kconfig' into 'master'
lw-ip: Add ND6 RDNSS DNS server Kconfig option Closes IDFGH-5209 See merge request espressif/esp-idf!14090
This commit is contained in:
@@ -361,6 +361,16 @@ menu "LWIP"
|
|||||||
Forwarding IPv6 packets between interfaces is only required when acting as
|
Forwarding IPv6 packets between interfaces is only required when acting as
|
||||||
a router.
|
a router.
|
||||||
|
|
||||||
|
config LWIP_IPV6_RDNSS_MAX_DNS_SERVERS
|
||||||
|
int "Use IPv6 Router Advertisement Recursive DNS Server Option"
|
||||||
|
depends on LWIP_IPV6
|
||||||
|
default 0
|
||||||
|
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.
|
||||||
|
Set this option to a number of desired DNS servers advertised in the RA protocol.
|
||||||
|
This feature is disabled when set to 0.
|
||||||
|
|
||||||
config LWIP_NETIF_STATUS_CALLBACK
|
config LWIP_NETIF_STATUS_CALLBACK
|
||||||
bool "Enable status callback for network interfaces"
|
bool "Enable status callback for network interfaces"
|
||||||
default n
|
default n
|
||||||
|
@@ -968,6 +968,8 @@
|
|||||||
|
|
||||||
#define LWIP_IPV6_NUM_ADDRESSES CONFIG_LWIP_IPV6_NUM_ADDRESSES
|
#define LWIP_IPV6_NUM_ADDRESSES CONFIG_LWIP_IPV6_NUM_ADDRESSES
|
||||||
|
|
||||||
|
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS CONFIG_LWIP_IPV6_RDNSS_MAX_DNS_SERVERS
|
||||||
|
|
||||||
/* Enable all Espressif-only options */
|
/* Enable all Espressif-only options */
|
||||||
|
|
||||||
#define ESP_LWIP 1
|
#define ESP_LWIP 1
|
||||||
|
Reference in New Issue
Block a user