summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-10 12:04:54 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-10 12:04:54 -0700
commitabc01ce66884914f1fb0db0d433044e0dc55c040 (patch)
tree95fb614bef533cfb10d413771be131fd91707fae
parent05d9d335582936eea369689a3554d8e7ff871e17 (diff)
parenteba9b5c8fcdc941eb9b7181bfde25bc508b81888 (diff)
downloadvyatta-nat-abc01ce66884914f1fb0db0d433044e0dc55c040.tar.gz
vyatta-nat-abc01ce66884914f1fb0db0d433044e0dc55c040.zip
Merge branch 'glendale' of suva.vyatta.com:/git/vyatta-nat into glendale
-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 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/) {