diff options
-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"; |