mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.1' into 'release/v4.1'
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.1 See merge request espressif/esp-idf!8025
This commit is contained in:
commit
bac92d579f
@ -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