diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2008-12-22 15:53:28 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2008-12-22 15:53:28 -0800 |
commit | e002551ca9e86e6f6f877fa4cbd46f5a36a8144f (patch) | |
tree | e995eaefbfc68955f9478063550d71bef9013cbc | |
parent | 5622567c46530f8294896a293fcf1da1de0a8dbe (diff) | |
download | vyatta-op-firewall-e002551ca9e86e6f6f877fa4cbd46f5a36a8144f.tar.gz vyatta-op-firewall-e002551ca9e86e6f6f877fa4cbd46f5a36a8144f.zip |
Fix 2563: Add firewall-rule specific disable configuration parameter.
-rwxr-xr-x | scripts/firewall/vyatta-show-firewall.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/firewall/vyatta-show-firewall.pl b/scripts/firewall/vyatta-show-firewall.pl index ce0ebfd..d693914 100755 --- a/scripts/firewall/vyatta-show-firewall.pl +++ b/scripts/firewall/vyatta-show-firewall.pl @@ -105,6 +105,7 @@ sub show_chain { if (defined($rule_num) && $rule_num != $_) { next; } + next if $rule->is_disabled(); print $fh " <row>\n"; print $fh " <rule_number>$_</rule_number>\n"; print $fh " <pkts>$pkts</pkts>\n"; |