From 5622567c46530f8294896a293fcf1da1de0a8dbe Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 18 Dec 2008 10:37:44 -0800 Subject: Fix 3882: ENH: Firewall: Indicate which firewall rulesets are not applied to any interfaces in "show firewall" output --- scripts/firewall/vyatta-show-firewall.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/firewall/vyatta-show-firewall.pl b/scripts/firewall/vyatta-show-firewall.pl index 14fe591..ce0ebfd 100755 --- a/scripts/firewall/vyatta-show-firewall.pl +++ b/scripts/firewall/vyatta-show-firewall.pl @@ -64,6 +64,8 @@ sub show_interfaces { } if (scalar(@int_strs) > 0) { print "\nActive on " . (join ' ', @int_strs) . "\n"; + } else { + print "\nInactive: Not applied to any interfaces.\n"; } } -- cgit v1.2.3