summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-nat.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-show-nat.pl')
-rwxr-xr-xscripts/vyatta-show-nat.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-nat.pl b/scripts/vyatta-show-nat.pl
index 9d2b4ff..d4d381c 100755
--- a/scripts/vyatta-show-nat.pl
+++ b/scripts/vyatta-show-nat.pl
@@ -19,7 +19,7 @@ my %stats = (
source => [ ],
destination => [ ],
);
-open(STATS, "iptables -t nat -L -vn |") or exit 1;
+open(STATS, "/sbin/iptables -t nat -L -vn |") or exit 1;
my $skey = "";
while (<STATS>) {
if (m/^Chain PREROUTING/) {