diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-05-06 18:52:34 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-05-06 18:52:34 -0700 |
commit | 29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9 (patch) | |
tree | 3958221af7459cbc2b9d546236acc56e2c3eb656 | |
parent | c87c83e3345606fe00fe07fe8686e43c1258114c (diff) | |
download | vyatta-op-firewall-29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9.tar.gz vyatta-op-firewall-29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9.zip |
* rectify regex to search for tcp flags in iptables output
-rwxr-xr-x | scripts/firewall/vyatta-show-firewall.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/firewall/vyatta-show-firewall.pl b/scripts/firewall/vyatta-show-firewall.pl index ff479a0..ac945f7 100755 --- a/scripts/firewall/vyatta-show-firewall.pl +++ b/scripts/firewall/vyatta-show-firewall.pl @@ -315,7 +315,7 @@ sub print_detail_rule { } $string_for_part3 =~ s/policy match dir in pol\s(\S+)\s/IPSEC-MATCH $1 /g; if (defined $cli_rule->{_tcp_flags}) { - $string_for_part3 =~ s/tcp flags:(\S+)\s/tcp-flags $cli_rule->{_tcp_flags} /g; + $string_for_part3 =~ s/flags:(\S+)\s/tcp-flags $cli_rule->{_tcp_flags} /g; } # add information not displayed when listing the underlying iptable rule |