From e002551ca9e86e6f6f877fa4cbd46f5a36a8144f Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 22 Dec 2008 15:53:28 -0800 Subject: Fix 2563: Add firewall-rule specific disable configuration parameter. --- scripts/firewall/vyatta-show-firewall.pl | 1 + 1 file changed, 1 insertion(+) 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 " \n"; print $fh " $_\n"; print $fh " $pkts\n"; -- cgit v1.2.3