]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: auto-merge is only available for singleton interval sets
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Feb 2025 16:55:15 +0000 (17:55 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Jun 2025 09:27:10 +0000 (11:27 +0200)
commit1e2529bf0547d838184723de38bed2c566b5819a
tree319b982959801779a5ba3a78f6a2f0f1010813bc
parent419ef73e2c01f1f5530d0f023009028b602316c8
evaluate: auto-merge is only available for singleton interval sets

commit 65382b888e266e2e3d49a418073fd76dcc4815a7 upstream.

auto-merge is only available to interval sets with one value only,
untoggle this flag for concatenation with intervals.

Later, this can be hardened to reject it.

Fixes: 30f667920601 ("src: add 'auto-merge' option to sets")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c