Merge branch 'fix/netif_ppp_ip6_autoconfig' into 'master'

fix(esp_netif): Fix missing IPv6 autoconfig for PPP netifs

Closes IDFGH-12730

See merge request espressif/esp-idf!31330
This commit is contained in:
David Čermák 2024-07-04 14:14:52 +08:00
commit ce4313a569

View File

@ -267,6 +267,10 @@ esp_err_t esp_netif_start_ppp(esp_netif_t *esp_netif)
}
#endif // CONFIG_LWIP_PPP_SERVER_SUPPORT
#if ESP_IPV6_AUTOCONFIG
ppp_ctx->ppp->netif->ip6_autoconfig_enabled = 1;
#endif
ESP_LOGD(TAG, "%s: Starting PPP connection: %p", __func__, ppp_ctx->ppp);
#ifdef CONFIG_LWIP_PPP_SERVER_SUPPORT
esp_err_t err = ppp_listen(ppp_ctx->ppp);