From b707e21887f0dbb188e9b2028912aaac8acb7961 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Wed, 19 Dec 2007 15:08:24 -0800 Subject: Change firewall operational commands so that they work correctly with admin level users and "users" level users. --- scripts/firewall/vyatta-show-firewall.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/firewall/vyatta-show-firewall.pl b/scripts/firewall/vyatta-show-firewall.pl index be9e60d..57a34fa 100755 --- a/scripts/firewall/vyatta-show-firewall.pl +++ b/scripts/firewall/vyatta-show-firewall.pl @@ -16,7 +16,7 @@ sub show_chain { my $chain = shift; my $fh = shift; - open(STATS, "iptables -L $chain -vn |") or exit 1; + open(STATS, "/sbin/iptables -L $chain -vn |") or exit 1; my @stats = (); while () { if (!/^\s*(\d+[KMG]?)\s+(\d+[KMG]?)\s/) { -- cgit v1.2.3