diff options
author | hagbard-01 <39653662+hagbard-01@users.noreply.github.com> | 2019-01-29 15:26:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 15:26:38 -0800 |
commit | 98ce64bc3c73118c8e909173da460501ca6cabf1 (patch) | |
tree | 0aa009779956bb81afcfde439fddd97641f32bba /scripts | |
parent | 0b58083b29bff5bb4a2b16354a77a2794be7cc07 (diff) | |
parent | 82245fbfc8c8b0c47508cb67d6a5b91b1b9ce5e1 (diff) | |
download | vyatta-nat-98ce64bc3c73118c8e909173da460501ca6cabf1.tar.gz vyatta-nat-98ce64bc3c73118c8e909173da460501ca6cabf1.zip |
Merge pull request #6 from mevertse/current
T166: Changed NPTv6 to use NETMAP
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyos-update-nptv6.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyos-update-nptv6.pl b/scripts/vyos-update-nptv6.pl index 5079a66..ed1d9da 100755 --- a/scripts/vyos-update-nptv6.pl +++ b/scripts/vyos-update-nptv6.pl @@ -53,7 +53,7 @@ if ($debug) { # Send rule to iptables sub send_iptables { my @cmds = @_; - my $prepend = $IPTABLES . " -t mangle "; + my $prepend = $IPTABLES . " -t nat "; my $cmd; for $cmd (@cmds) { @@ -84,7 +84,7 @@ my @cmds; # Loop through all loops, sorted numerically for $rule (@rule_keys) { print OUT "$rule: $rules{$rule}\n"; - my $tmp = `ip6tables -L -nv --line -t mangle`; + my $tmp = `ip6tables -L -nv --line -t nat`; print OUT "iptables before:\n$tmp\n"; my $nrule = new VyOS::Nptv6Rule; |