summaryrefslogtreecommitdiffstats
path: root/tests/py/any/counter.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-03-17 12:56:36 +0100
committerFlorian Westphal <fw@strlen.de>2025-03-18 14:25:31 +0100
commit3e50cd6b063d64c2e72b0e32bc36dd5a22f75c06 (patch)
treeda5112bee769a78ee0ad0aed264efdafc5f294e5 /tests/py/any/counter.t
parentceab53cee4999debd64ab29414b918746209ba7b (diff)
evaluate: move interval flag compat check after set key evaluation
Without this, included bogon asserts with: BUG: unhandled key type 13 nft: src/intervals.c:73: setelem_expr_to_range: Assertion `0' failed. ... because we no longer evaluate set->key/data. Move the check to the tail of the function, right before assiging set->existing_set, so that set->key has been evaluated. Fixes: ceab53cee499 ("evaluate: don't allow merging interval set/map with non-interval one") Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any/counter.t')
0 files changed, 0 insertions, 0 deletions