diff options
| author | Florian Westphal <fw@strlen.de> | 2026-02-12 18:03:54 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-02-13 12:32:05 +0100 |
| commit | bf77b769b83a68c841dcb4f7cdf3998e2817727f (patch) | |
| tree | 58fed0e34da3660115a49709b6e090b9947a8567 /configure.ac | |
| parent | 758cfe51968a1fbd78cc7a6041c467e64f090d3a (diff) | |
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>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 2a8abf21..0106b316 100644 --- a/configure.ac +++ b/configure.ac @@ -77,15 +77,6 @@ AC_ARG_WITH([xt-lock-name], AS_HELP_STRING([--with-xt-lock-name=PATH], AC_ARG_ENABLE([profiling], AS_HELP_STRING([--enable-profiling], [build for use of gcov/gprof]), [enable_profiling="$enableval"], [enable_profiling="no"]) -AC_ARG_WITH([zlib], [AS_HELP_STRING([--without-zlib], - [Disable payload compression of rule compat expressions])], - [], [with_zlib=check]) -AS_IF([test "x$with_zlib" != xno], [ - AC_CHECK_LIB([z], [compress], , - [if test "x$with_zlib" != xcheck; then - AC_MSG_ERROR([No suitable version of zlib found]) - fi; with_zlib=no]) -]) AC_MSG_CHECKING([whether $LD knows -Wl,--no-undefined]) saved_LDFLAGS="$LDFLAGS"; @@ -298,7 +289,6 @@ Iptables Configuration: nftables support: ${enable_nftables} connlabel support: ${enable_connlabel} profiling support: ${enable_profiling} - compress rule compat expressions: ${with_zlib/check/yes} Build parameters: Put plugins into executable (static): ${enable_static} |
