]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: skip fuzzy lookup if object name is not available
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 15 Jun 2025 09:33:42 +0000 (11:33 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 23 Jun 2025 16:41:05 +0000 (18:41 +0200)
commitde8396358f869d6d7640eae6d6287c2f7fb0d3dc
tree0d7e8e0de464c6411f217addb3f1723d439f2dc3
parent7b21b7e387e30de4c4147c82247655cca608d2fd
rule: skip fuzzy lookup if object name is not available

Skip fuzzy lookup for suggestions when handles are used.

Note that 4cf97abfee61 ("rule: Avoid segfault with anonymous chains")
already skips it for chain.

Fixes: 285bb67a11ad ("src: introduce simple hints on incorrect set")
Fixes: 9f7817a4e022 ("src: introduce simple hints on incorrect chain")
Fixes: d7476ddd5f7d ("src: introduce simple hints on incorrect table")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/rule.c