diff options
-rwxr-xr-x | VERSION | 3 | ||||
-rwxr-xr-x | src/nat_check.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ -v2.19 +v2.20 + diff --git a/src/nat_check.cpp b/src/nat_check.cpp index 6d92145e..24ed3dc8 100755 --- a/src/nat_check.cpp +++ b/src/nat_check.cpp @@ -199,7 +199,7 @@ void CNatRxManager::handle_packet_ipv4(CNatOption *option, IPHeader *ipv4, bool uint64_t map_key = (dst_ip << 16) + dst_port; double time_stamp = now_sec(); m_ft.insert(map_key, tcp_ack, time_stamp); - m_ft.clear_old(time_stamp - 1); + m_ft.clear_old(time_stamp - 10); } } else { uint16_t ip_id = ipv4->getId(); |