aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-01-23 21:11:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-01-23 21:11:28 +0000
commit1b2556e4a459629ac02b6541e3fafb5bc09b2c69 (patch)
tree030f152529cfebbec35f8b265f5457a747cb5638 /sbin
parent48f8ca448a9d2ac4f897f61678219c0c0fe4dcf8 (diff)
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ip6fw/ip6fw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ip6fw/ip6fw.c b/sbin/ip6fw/ip6fw.c
index a25fed52a9860..0c5b3b43aa17d 100644
--- a/sbin/ip6fw/ip6fw.c
+++ b/sbin/ip6fw/ip6fw.c
@@ -364,7 +364,7 @@ show_ip6fw(struct ip6_fw *chain)
if (chain->fw_ip6nopt & IPV6_FW_IP6OPT_OPTS) PRINTOPT("!opts");
}
- if (chain->fw_tcpf & IPV6_FW_TCPF_ESTAB)
+ if (chain->fw_ipflg & IPV6_FW_IF_TCPEST)
printf(" established");
else if (chain->fw_tcpf == IPV6_FW_TCPF_SYN &&
chain->fw_tcpnf == IPV6_FW_TCPF_ACK)
@@ -1060,7 +1060,7 @@ badviacombo:
}
if (rule.fw_prot == IPPROTO_TCP) {
if (!strncmp(*av,"established",strlen(*av))) {
- rule.fw_tcpf |= IPV6_FW_TCPF_ESTAB;
+ rule.fw_ipflg |= IPV6_FW_IF_TCPEST;
av++; ac--; continue;
}
if (!strncmp(*av,"setup",strlen(*av))) {