mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 14:14:33 +02:00
esp_netif: Support IPv6 autoconfig is enabled in menuconfig
This commit is contained in:
@@ -758,6 +758,9 @@ static esp_err_t esp_netif_start_api(esp_netif_api_msg_t *msg)
|
||||
|
||||
ESP_ERROR_CHECK(esp_netif_lwip_add(esp_netif));
|
||||
|
||||
#if ESP_IPV6_AUTOCONFIG
|
||||
esp_netif->lwip_netif->ip6_autoconfig_enabled = 1;
|
||||
#endif
|
||||
if (esp_netif->flags&ESP_NETIF_FLAG_GARP) {
|
||||
#if ESP_GRATUITOUS_ARP
|
||||
netif_set_garp_flag(esp_netif->lwip_netif);
|
||||
|
Reference in New Issue
Block a user