Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration' into 'master'

lw-ip: Add option to ipv6 stateless address configuration

See merge request espressif/esp-idf!7697
This commit is contained in:
Jiang Jiang Jian 2020-02-21 14:53:03 +08:00
commit d3d4746bb7
2 changed files with 12 additions and 1 deletions

View file

@ -255,6 +255,14 @@ menu "LWIP"
If rate limiting self-assignment requests, wait this long between If rate limiting self-assignment requests, wait this long between
each request. each request.
config LWIP_IPV6_AUTOCONFIG
bool "Enable IPV6 stateless address autoconfiguration"
default n
help
Enabling this option allows the devices to IPV6 stateless address autoconfiguration.
See RFC 4862.
menuconfig LWIP_NETIF_LOOPBACK menuconfig LWIP_NETIF_LOOPBACK
bool "Support per-interface loopback" bool "Support per-interface loopback"
default y default y

View file

@ -779,7 +779,6 @@
#define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF #define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF
#define ESP_DHCP 1 #define ESP_DHCP 1
#define ESP_DNS 1 #define ESP_DNS 1
#define ESP_IPV6_AUTOCONFIG 1
#define ESP_PERF 0 #define ESP_PERF 0
#define ESP_RANDOM_TCP_PORT 1 #define ESP_RANDOM_TCP_PORT 1
#define ESP_IP4_ATON 1 #define ESP_IP4_ATON 1
@ -803,6 +802,10 @@
#define ESP_LWIP_SELECT 1 #define ESP_LWIP_SELECT 1
#define ESP_LWIP_LOCK 1 #define ESP_LWIP_LOCK 1
#ifdef CONFIG_LWIP_IPV6_AUTOCONFIG
#define ESP_IPV6_AUTOCONFIG CONFIG_LWIP_IPV6_AUTOCONFIG
#endif
#ifdef ESP_IRAM_ATTR #ifdef ESP_IRAM_ATTR
#undef ESP_IRAM_ATTR #undef ESP_IRAM_ATTR
#endif #endif