]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: revert compat expressions in userdata
authorFlorian Westphal <fw@strlen.de>
Thu, 12 Feb 2026 17:03:54 +0000 (18:03 +0100)
committerFlorian Westphal <fw@strlen.de>
Fri, 13 Feb 2026 11:32:05 +0000 (12:32 +0100)
commitbf77b769b83a68c841dcb4f7cdf3998e2817727f
tree58fed0e34da3660115a49709b6e090b9947a8567
parent758cfe51968a1fbd78cc7a6041c467e64f090d3a
nft: revert compat expressions in userdata

This reverts the following commits:

758cfe51968a ("configure: Auto-detect libz unless explicitly requested")
fdb541cddad0 ("tests: iptables-test: Add nft-compat variant")
7746fa0b1619 ("nft: Embed compat extensions in rule userdata")
ff5f6a208efc ("nft-ruleparse: Fallback to compat expressions in userdata")
f6f0f4f55794 ("nft: Introduce UDATA_TYPE_COMPAT_EXT")

The main intended user for '--compat' will likely go away. It is also
unlikely the 'iptables-only-emits-native-nft' will ever come to pass.

If there is ever a demand of iptables-to-native-nft that can list rules
even if decompilation step fails then we can always resurrect this again
if needed be.

Signed-off-by: Florian Westphal <fw@strlen.de>
19 files changed:
configure.ac
iptables-test.py
iptables/Makefile.am
iptables/arptables-nft.8
iptables/ebtables-nft.8
iptables/iptables-restore.8.in
iptables/iptables.8.in
iptables/nft-compat.c [deleted file]
iptables/nft-compat.h [deleted file]
iptables/nft-ruleparse.c
iptables/nft.c
iptables/nft.h
iptables/xshared.c
iptables/xshared.h
iptables/xtables-arp.c
iptables/xtables-eb.c
iptables/xtables-nft.8
iptables/xtables-restore.c
iptables/xtables.c