]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Introduce and use bool nft_handle::compat
authorPhil Sutter <phil@nwl.cc>
Fri, 5 May 2023 15:39:08 +0000 (17:39 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 11 Aug 2023 13:56:38 +0000 (15:56 +0200)
commitca709b5784c982de12d6eab361cfc9c900aec4c7
treef9050ead4c83cffa9f933cb988ad1cba330d5163
parent402b9b3c07c8192be3bfc0191fbf56401e26a003
nft: Introduce and use bool nft_handle::compat

If set, create rules using compat expressions where possible and disable
the bitwise expression avoidance introduced in 323259001d617 ("nft:
Optimize class-based IP prefix matches").

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