Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v3.3' into 'release/v3.3'
lw-ip:bugfix for TCPv6 send ok when sta disconnect for 3.3 See merge request espressif/esp-idf!8016
This commit is contained in:
commit
c44a9f9a4e
1 changed files with 3 additions and 0 deletions
|
@ -325,6 +325,9 @@ esp_err_t tcpip_adapter_down(tcpip_adapter_if_t tcpip_if)
|
||||||
tcpip_adapter_reset_ip_info(tcpip_if);
|
tcpip_adapter_reset_ip_info(tcpip_if);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(int8_t i = 0 ;i < LWIP_IPV6_NUM_ADDRESSES ;i++) {
|
||||||
|
netif_ip6_addr_set(esp_netif[tcpip_if] ,i ,IP6_ADDR_ANY6);
|
||||||
|
}
|
||||||
netif_set_addr(esp_netif[tcpip_if], IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4);
|
netif_set_addr(esp_netif[tcpip_if], IP4_ADDR_ANY4, IP4_ADDR_ANY4, IP4_ADDR_ANY4);
|
||||||
netif_set_down(esp_netif[tcpip_if]);
|
netif_set_down(esp_netif[tcpip_if]);
|
||||||
tcpip_adapter_start_ip_lost_timer(tcpip_if);
|
tcpip_adapter_start_ip_lost_timer(tcpip_if);
|
||||||
|
|
Loading…
Reference in a new issue