summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ip_fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index a17e0ada06c3..ebb137057361 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -1259,7 +1259,7 @@ again:
* we consider the rule a non-match.
*/
if (f->fw_nports != 0 ||
- f->fw_tcpf != f->fw_tcpnf)
+ f->fw_ipflg & IP_FW_IF_TCPMSK)
continue;
break;