]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: do_parse: Ignore '-j CONTINUE'
authorPhil Sutter <phil@nwl.cc>
Wed, 22 Nov 2023 02:58:18 +0000 (03:58 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Nov 2023 16:59:42 +0000 (17:59 +0100)
commitc0bd98c9339b4975c9d52739d638a3c2bdf9a7ff
tree7dbef2d9c382f7a56ef3709c490f34dac25130dd
parent74253799f0ca0735256327e834b7dffedde96ebf
xshared: do_parse: Ignore '-j CONTINUE'

While iptables does not support his NOP, arptables man page claims it
does (although legacy arptables rejects it) and ebtables prefers to
print it instead of omitting the '-j' option.

Accept and ignore the target when parsing to at least fix for
arptables-nft and prepare for ebtables-nft using do_parse() as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/xshared.c