]> 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>
Wed, 13 Aug 2025 18:44:27 +0000 (20:44 +0200)
commit018e5bd610ef9d287de2a36143cce659250341d7
treeb95f2cfa47eb28926d5cd0025e1083e049f379fc
parent10da83c6d02318160ac561dd08fbf153d19cc407
rule: skip fuzzy lookup if object name is not available

commit de8396358f869d6d7640eae6d6287c2f7fb0d3dc upstream.

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