diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-03-26 01:34:06 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-03-26 01:34:06 +0100 |
commit | aecd3f92362ffa2c7e5a4b048cd0139f52784dcd (patch) | |
tree | 91c298146cd33af690fcbddb5f1c2a1bbf2c02a9 /scripts/vyos-update-nptv6.pl | |
parent | c3f6eb7bc159dcc8850b4b2c37f38e9e018c126a (diff) | |
parent | 683d3cb328ce371748567e1e2354cd0c82a16966 (diff) | |
download | vyatta-nat-aecd3f92362ffa2c7e5a4b048cd0139f52784dcd.tar.gz vyatta-nat-aecd3f92362ffa2c7e5a4b048cd0139f52784dcd.zip |
Merge branch 'current' into crux
Diffstat (limited to 'scripts/vyos-update-nptv6.pl')
-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; |