From ac302329d15513a9f2b37083061e74659b8516fb Mon Sep 17 00:00:00 2001 From: xueyunfei Date: Thu, 19 Mar 2020 10:44:03 +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 dd3b301750..5c181728c8 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 2020a9a221..71eed9dd04 100644 --- a/components/lwip/port/esp32/netif/wlanif.c +++ b/components/lwip/port/esp32/netif/wlanif.c @@ -93,6 +93,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 = wlanif_free_rx_buf_l2; #endif