]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: only dump rules for the given table
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Aug 2024 22:41:40 +0000 (00:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Aug 2024 16:38:07 +0000 (18:38 +0200)
commitebd06f85a3257c294572005d0fa6b8ab0f213486
tree4f3234011641b1d757567e5beb75cf43a8c1abb6
parent969ce17b66f8084626610202f11d607911e049e6
cache: only dump rules for the given table

Only family is set on in the dump request, set on table and chain
otherwise, rules for the given family are fetched for each existing
table.

Fixes: afbd102211dc ("src: do not use the nft_cache_filter object from mnl.c")
Tested-by: Eric Garver <eric@garver.life>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c