From 110a013333aa74d6a402b03d3ff6cec4baf4a49b Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Tue, 27 Mar 2001 05:28:30 +0000 Subject: Replace dyn_fin_lifetime with dyn_ack_lifetime for half-closed state. Half-closed state could last long for some connections and fin_lifetime (default 20sec) is too short for that. OK'ed by: luigi --- sys/netinet/ip_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet') diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index f87b8eff7bdd..e0f4378c6ac3 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -765,7 +765,7 @@ found: case TH_SYN | (TH_SYN << 8) | TH_FIN : case TH_SYN | (TH_SYN << 8) | (TH_FIN << 8) : /* one side tries to close */ - q->expire = time_second + dyn_fin_lifetime ; + q->expire = time_second + dyn_ack_lifetime ; break ; case TH_SYN | (TH_SYN << 8) | TH_FIN | (TH_FIN << 8) : /* both sides closed */ -- cgit v1.3