diff options
author | 2018-10-16 16:52:05 +0200 | |
---|---|---|
committer | 2018-10-16 19:34:49 +0200 | |
commit | cb20f2d2c0507d60d94ef896991e95708f051dd1 (patch) | |
tree | 6bdba61d1af87712a44df86e48dc66a00862fac9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | netfilter: nft_compat: do not dump private area (diff) | |
download | wireguard-linux-cb20f2d2c0507d60d94ef896991e95708f051dd1.tar.xz wireguard-linux-cb20f2d2c0507d60d94ef896991e95708f051dd1.zip |
netfilter: xt_nat: fix DNAT target for shifted portmap ranges
The commit 2eb0f624b709 ("netfilter: add NAT support for shifted
portmap ranges") did not set the checkentry/destroy callbacks for
the newly added DNAT target. As a result, rulesets using only
such nat targets are not effective, as the relevant conntrack hooks
are not enabled.
The above affect also nft_compat rulesets.
Fix the issue adding the missing initializers.
Fixes: 2eb0f624b709 ("netfilter: add NAT support for shifted portmap ranges")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions