mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
bugfix for TCPv6 send ok when sta disconnect
This commit is contained in:
parent
2976f5daea
commit
c092f9b881
@ -1086,6 +1086,9 @@ static esp_err_t esp_netif_down_api(esp_netif_api_msg_t *msg)
|
||||
esp_netif_reset_ip_info(esp_netif);
|
||||
}
|
||||
|
||||
for(int8_t i = 0 ;i < LWIP_IPV6_NUM_ADDRESSES ;i++) {
|
||||
netif_ip6_addr_set(lwip_netif, i, IP6_ADDR_ANY6);
|
||||
}
|
||||
netif_set_addr(lwip_netif, IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4);
|
||||
netif_set_down(lwip_netif);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user