Commit Graph

10 Commits

Author SHA1 Message Date
Bernard Xiong 8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
He Chunhui 7290ff5d76 fix typo 2016-03-16 08:03:33 +00:00
He Chunhui 0fc0ed1bb1 fix copy-paste bug
This bug causes buffer overrun.
2016-03-16 08:00:33 +00:00
He Chunhui 5439580833 fix incompatible unit in LWIP_NAT_TMR_INTERVAL_SEC
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.
2016-03-16 07:43:38 +00:00
bernard 3e31d349ea [lwIP] fix the pbuf q=NULL issue in ip_nat_input. 2015-01-31 20:44:53 +08:00
bernard 72298bac32 Merge remote-tracking branch 'bernard/master' 2015-01-31 14:48:31 +08:00
bernard 1f2a6e3a89 [lwIP] fix compiling warning in NAT. 2015-01-31 14:48:19 +08:00
Bernard Xiong 627d025cda [lwIP] Modify the ip.c to support NAT 2015-01-29 09:48:48 +00:00
Bernard Xiong 068e2f95a1 [lwIP] remove IP_INPUT_HOOK 2015-01-29 15:01:26 +08:00
Bernard Xiong 3da0f4ec09 [lwIP] Add NAT for lwIP 2015-01-26 06:36:00 +00:00