]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-translate: Support insert with index
authorPhil Sutter <phil@nwl.cc>
Fri, 3 Feb 2023 17:25:21 +0000 (18:25 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 17 Feb 2023 17:18:48 +0000 (18:18 +0100)
commit68fdf09ecfd1769ec68a7df51f564578dbdc0ddf
treebc19d2ca378a4976d3e123179c4c17717701bf9f
parent267a26363826553280a5928043df30a07cdc63bb
xtables-translate: Support insert with index

Translation is pretty simple due to nft's 'insert rule ... index'
support. Testing the translation is sadly not: index 1 vanishes (as it
should), higher indexes are rejected in replay mode since no rules
previously exist.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libebt_ip.txlate
iptables/xtables-translate.c