mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-06-05 21:04:45 +00:00
napt: restore to the initial state in deinit
This bug casue NAPT not work as normal after deinit then reinit
This commit is contained in:
@@ -176,6 +176,8 @@ static void
|
||||
ip_napt_deinit(void)
|
||||
{
|
||||
napt_list = NO_IDX;
|
||||
napt_list_last = NO_IDX;
|
||||
napt_free = 0;
|
||||
ip_napt_max = 0;
|
||||
#if IP_NAPT_PORTMAP
|
||||
ip_portmap_max = 0;
|
||||
|
||||
Reference in New Issue
Block a user