summaryrefslogtreecommitdiff
path: root/scripts/firewall/vyatta-show-firewall.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/firewall/vyatta-show-firewall.pl')
-rwxr-xr-xscripts/firewall/vyatta-show-firewall.pl2
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/) {