]> 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)
committerFlorian Westphal <fw@strlen.de>
Mon, 31 Jul 2023 13:04:57 +0000 (15:04 +0200)
commita8ff324dc64fd76f7d218d3d94c5885250951258
treed5ef01980340ebe3046f3a7d8fb59d40514a09e7
parent8beafab74c391130fbb9111bfccab8613644e3b9
ct expectation: fix 'list object x' vs. 'list objects in table' confusion

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