summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1995-07-31 13:58:35 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1995-07-31 13:58:35 +0000
commit7d4aa0825ddac2696198d586c35d2ed1d09c053e (patch)
treee8b282bce2a83c8e312ab210b26ff19268347b79
parentf0448ae4a23e4b737e9b490f334f9ca01cf394ad (diff)
Notes
-rw-r--r--sys/netinet/ip_fw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index 51488e6ee5a1..b15dc9741105 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -11,7 +11,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id$
+ * $Id: ip_fw.c,v 1.21 1995/07/23 05:36:29 davidg Exp $
*/
/*
@@ -153,7 +153,7 @@ ip_fw_chk(m, ip, rif, chain)
dprintf1("TCP ");
src_port = ntohs(tcp->th_sport);
dst_port = ntohs(tcp->th_dport);
- if (tcp->th_flags & TH_SYN)
+ if ((tcp->th_flags & TH_SYN) && !(tcp->th_flags & TH_ACK))
notcpsyn = 0; /* We *DO* have SYN ,value FALSE */
prt = IP_FW_F_TCP;
break;