diff options
author | Merijn Evertse <merijn@trans-ix.nl> | 2019-01-29 14:45:34 +0100 |
---|---|---|
committer | Merijn Evertse <merijn@trans-ix.nl> | 2019-01-29 14:45:34 +0100 |
commit | 6f79779ecf9ada95a13c15997810ca5c21ce7db3 (patch) | |
tree | 1892bc71c1b3369c2c8390ca67e7879037788794 /scripts | |
parent | 52fb9ab3f8a1d1aeda0149946b1e1b77617bc6cd (diff) | |
download | vyatta-nat-6f79779ecf9ada95a13c15997810ca5c21ce7db3.tar.gz vyatta-nat-6f79779ecf9ada95a13c15997810ca5c21ce7db3.zip |
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; |