diff options
author | ru <ru@FreeBSD.org> | 2000-10-03 10:37:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-10-03 10:37:03 +0000 |
commit | 948e4e6d8cf061eee4cd9957a6363a8665a67009 (patch) | |
tree | 132baf9a91a552c79936e5542278ce5809fa6e32 /sbin/ipfw | |
parent | 047ac5679f02e0e27b721dbcad2b891dfcee7f20 (diff) | |
download | FreeBSD-src-948e4e6d8cf061eee4cd9957a6363a8665a67009.zip FreeBSD-src-948e4e6d8cf061eee4cd9957a6363a8665a67009.tar.gz |
Fixed the printing of TCP flags.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index f3b1ea3..d3292dc 100644 --- a/sbin/ipfw/ipfw.c +++ b/sbin/ipfw/ipfw.c @@ -460,7 +460,7 @@ show_ipfw(struct ip_fw *chain, int pcwidth, int bcwidth) else if (chain->fw_tcpf == IP_FW_TCPF_SYN && chain->fw_tcpnf == IP_FW_TCPF_ACK) printf(" setup"); - else if (chain->fw_ipflg & IP_FW_IF_TCPOPT) { + else if (chain->fw_ipflg & IP_FW_IF_TCPFLG) { int _flg_printed = 0; #define PRINTFLG(x) {if (_flg_printed) printf(",");\ printf(x); _flg_printed = 1;} |