]> git.ipfire.org Git - thirdparty/nftables.git/commit
ct expectation: fix 'list object x' vs. 'list objects in table' confusion
authorFlorian Westphal <fw@strlen.de>
Fri, 28 Jul 2023 19:04:13 +0000 (21:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Aug 2025 16:23:30 +0000 (18:23 +0200)
commit705c84e5de96d78b55823de36f90b65bbc857930
tree76aef3a227aa33b2fdb8a7171ef1e2d42dba290d
parent4ab2cdf0e1ab13a15e8845c2c173c911b362a0d7
ct expectation: fix 'list object x' vs. 'list objects in table' confusion

commit a8ff324dc64fd76f7d218d3d94c5885250951258 upstream.

Just like "ct timeout", "ct expectation" is in need of the same fix,
we get segfault on "nft list ct expectation table t", if table t exists.

This is the exact same pattern as resolved for "ct timeout" in commit
1d2e22fc0521 ("ct timeout: fix 'list object x' vs. 'list objects in table' confusion").

Signed-off-by: Florian Westphal <fw@strlen.de>
include/rule.h
src/cache.c
src/evaluate.c
src/parser_bison.y
src/rule.c