mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
commit
ce4313a569
@ -267,6 +267,10 @@ esp_err_t esp_netif_start_ppp(esp_netif_t *esp_netif)
|
|||||||
}
|
}
|
||||||
#endif // CONFIG_LWIP_PPP_SERVER_SUPPORT
|
#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);
|
ESP_LOGD(TAG, "%s: Starting PPP connection: %p", __func__, ppp_ctx->ppp);
|
||||||
#ifdef CONFIG_LWIP_PPP_SERVER_SUPPORT
|
#ifdef CONFIG_LWIP_PPP_SERVER_SUPPORT
|
||||||
esp_err_t err = ppp_listen(ppp_ctx->ppp);
|
esp_err_t err = ppp_listen(ppp_ctx->ppp);
|
||||||
|
Loading…
Reference in New Issue
Block a user