summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2005-05-04 16:03:01 +0000
committermlaier <mlaier@FreeBSD.org>2005-05-04 16:03:01 +0000
commiteba8487d851b7ad1891faeed4b880133fdd442ed (patch)
treeadbb12604baa67a48dffc3f4b82a895cd2f22bb0 /sys/contrib/pf
parent587ccf793819658709d8f95ec6ada42df4ec05f7 (diff)
downloadFreeBSD-src-eba8487d851b7ad1891faeed4b880133fdd442ed.zip
FreeBSD-src-eba8487d851b7ad1891faeed4b880133fdd442ed.tar.gz
Bring back fix from rev. 1.28 which was lost during the import.
Diffstat (limited to 'sys/contrib/pf')
-rw-r--r--sys/contrib/pf/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/pf/net/pf.c b/sys/contrib/pf/net/pf.c
index a4e8524..d7d1c2c 100644
--- a/sys/contrib/pf/net/pf.c
+++ b/sys/contrib/pf/net/pf.c
@@ -4364,9 +4364,9 @@ pf_test_state_tcp(struct pf_state **state, int direction, struct pfi_kif *kif,
(*state)->dst.seqdiff = (*state)->src.seqhi -
(*state)->dst.seqlo;
(*state)->src.seqhi = (*state)->src.seqlo +
- (*state)->src.max_win;
- (*state)->dst.seqhi = (*state)->dst.seqlo +
(*state)->dst.max_win;
+ (*state)->dst.seqhi = (*state)->dst.seqlo +
+ (*state)->src.max_win;
(*state)->src.wscale = (*state)->dst.wscale = 0;
(*state)->src.state = (*state)->dst.state =
TCPS_ESTABLISHED;
OpenPOWER on IntegriCloud