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