mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Fixed the printing of TCP flags.
This commit is contained in:
parent
84ad14e4a6
commit
1b4ea5a1a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66579
@ -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;}
|
||||
|
Loading…
Reference in New Issue
Block a user