mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-15 18:49:11 +08:00
LWIP_NAT_TMR_INTERVAL_SEC defined in ipv4_nat.h is in miliseconds, but ip_nat_check_timeout() thinks it's in seconds. With this bug, all nat entries will expire immediately when ip_nat_check_timeout() is called. Note sys_timeout() is in miliseconds.