Fix a bug where DragonFly's nat was closing TCP connections every 10 minutes.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 25 Sep 2004 03:42:58 +0000 (03:42 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 25 Sep 2004 03:42:58 +0000 (03:42 +0000)
commitd75e23fedfcf1452b6194b7b093fe2dd35f611a8
treebf0ca3b3963af40717207784d200b438cbbf9962
parent48d201a5a8c1dab4aa7166b0812594c101fc43c3
Fix a bug where DragonFly's nat was closing TCP connections every 10 minutes.
This was due to the TCPS state not being properly initialized (our TCPS_CLOSED
state is not 0).

Submitted-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
sys/contrib/ipfilter/netinet/ip_nat.c