summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NOTRACK.t
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-04-15 21:29:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-04-15 23:04:16 +0200
commit18f01acbdefb211ebfefb728d2b6843c59ae06db (patch)
tree769937dee480280970c9fd3f9be59a6c2dc450b7 /extensions/libxt_NOTRACK.t
parentf3d4a3ddbcfca15a00dd9758f481420038f6de10 (diff)
nft-shared: skip check for jumpto if cs->target is unset
The command_jump() function leaves cs->target unset if the target is not found. Let's check if the jumpto string mismatches only in this case. https://bugzilla.netfilter.org/show_bug.cgi?id=1422 Tested-by: Etienne Champetier <etienne.champetier@anevia.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_NOTRACK.t')
-rw-r--r--extensions/libxt_NOTRACK.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libxt_NOTRACK.t b/extensions/libxt_NOTRACK.t
index 585be82d..27c4734f 100644
--- a/extensions/libxt_NOTRACK.t
+++ b/extensions/libxt_NOTRACK.t
@@ -1,4 +1,3 @@
:PREROUTING,OUTPUT
*raw
-# ERROR: cannot find: iptables -I PREROUTING -t raw -j NOTRACK
-#-j NOTRACK;=;OK
+-j NOTRACK;=;OK