summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-05-06 18:52:34 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-05-06 18:52:34 -0700
commit29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9 (patch)
tree3958221af7459cbc2b9d546236acc56e2c3eb656 /scripts
parentc87c83e3345606fe00fe07fe8686e43c1258114c (diff)
downloadvyatta-op-firewall-29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9.tar.gz
vyatta-op-firewall-29a1bb058f92c0dd7862258cdbbf1cd9b43ee7d9.zip
* rectify regex to search for tcp flags in iptables output
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/firewall/vyatta-show-firewall.pl2
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