summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-08-25 15:27:37 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2008-08-25 15:27:37 -0700
commit7426d966d5fac1e89ed01d470cb4df79af638022 (patch)
tree8a498976deee6580e75819af9231360c118816be
parentebed2b7fb5d212af139ddba36b501faacf34b13d (diff)
downloadvyatta-nat-7426d966d5fac1e89ed01d470cb4df79af638022.tar.gz
vyatta-nat-7426d966d5fac1e89ed01d470cb4df79af638022.zip
fix index for NAT PREROUTING chain
-rwxr-xr-xscripts/vyatta-update-nat.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-update-nat.pl b/scripts/vyatta-update-nat.pl
index 661ea3c..154e19b 100755
--- a/scripts/vyatta-update-nat.pl
+++ b/scripts/vyatta-update-nat.pl
@@ -34,7 +34,7 @@ my $rule;
open(OUT, ">>/dev/null") or exit 1;
my %ipt_rulenum = (
source => 2,
- destination => 2,
+ destination => 1,
);
my %chain_name = (
source => "POSTROUTING",