summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NFLOG.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2016-11-28 13:14:16 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-11-29 23:03:51 +0100
commit92a3d0898d6a046cfc8c90757bdc08094413c79e (patch)
treefc85b92091825bb7d46231e102382d1caf7e3b0d /extensions/libxt_NFLOG.t
parentf1cd86ddcf1726b91aedb9ef916b380edc8c2b61 (diff)
xtables-translate: Fix chain type when translating nat table
This makes the type of translated chains in nat table to be of type 'nat' instead of 'filter' which is incorrect. Verified like so: | $ iptables-restore-translate -f /dev/stdin <<EOF | *nat | :POSTROUTING ACCEPT [0:0] | [0:0] -A POSTROUTING -j MASQUERADE | COMMIT | EOF | # Translated by ./install/sbin/iptables-restore-translate v1.6.0 on Mon Nov 28 12:11:30 2016 | add table ip nat | add chain ip nat POSTROUTING { type nat hook postrouting priority 0; policy accept; } | add rule ip nat POSTROUTING counter masquerade Ditto for ip6tables-restore-translate. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_NFLOG.t')
0 files changed, 0 insertions, 0 deletions