summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/firewall/vyatta-show-firewall.pl2
1 files changed, 2 insertions, 0 deletions
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";
}
}