From b539e54eedd60a43894b1d695927187d35c29ec1 Mon Sep 17 00:00:00 2001 From: xueyunfei Date: Wed, 18 Mar 2020 18:41:08 +0800 Subject: [PATCH] optimization TCPv6 connect --- components/lwip/lwip | 2 +- components/lwip/port/esp32/netif/wlanif.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/lwip/lwip b/components/lwip/lwip index dd3b30175..5c181728c 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit dd3b301750f19c9f15248ac32d366cd41c6b3225 +Subproject commit 5c181728c894d8c051070b1cf21c55a6222fc64b diff --git a/components/lwip/port/esp32/netif/wlanif.c b/components/lwip/port/esp32/netif/wlanif.c index 9a27d1c33..1e1fe1daa 100644 --- a/components/lwip/port/esp32/netif/wlanif.c +++ b/components/lwip/port/esp32/netif/wlanif.c @@ -94,6 +94,12 @@ low_level_init(struct netif *netif) #endif #endif +#if ESP_IPV6 +#if LWIP_IPV6 && LWIP_IPV6_MLD + netif->flags |= NETIF_FLAG_MLD6; +#endif +#endif + #if !ESP_L2_TO_L3_COPY netif->l2_buffer_free_notify = lwip_netif_wifi_free_rx_buffer; #endif