diff options
author | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-19 15:08:24 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-19 15:08:24 -0800 |
commit | b707e21887f0dbb188e9b2028912aaac8acb7961 (patch) | |
tree | 7e486581b8bdcdc2d71eff5f0d1a850994c87325 /scripts | |
parent | 57aedd6c182e619856d6f5b2b9387407bb1abdce (diff) | |
download | vyatta-op-firewall-b707e21887f0dbb188e9b2028912aaac8acb7961.tar.gz vyatta-op-firewall-b707e21887f0dbb188e9b2028912aaac8acb7961.zip |
Change firewall operational commands so that they work correctly with
admin level users and "users" level users.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/firewall/vyatta-show-firewall.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 (<STATS>) { if (!/^\s*(\d+[KMG]?)\s+(\d+[KMG]?)\s/) { |