summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-11-09 12:15:44 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-11-11 10:55:29 +0100
commitb3ed8fd8c9f33230fa819a3ae500cd1a99025038 (patch)
treed2b1c1a9b7ba2c22f59d7406904a08fc4afebb38 /include
parentdffc0e109ed4780c6d79c52fb5be8cda2d63fc6b (diff)
cache: missing family in cache filtering
Check family when filtering out listing of tables and sets. Fixes: 3f1d3912c3a6 ("cache: filter out tables that are not requested") Fixes: 635ee1cad8aa ("cache: filter out sets and maps that are not requested") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index cdf1f4fb..120a1b8d 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -49,6 +49,7 @@ struct nft_filter_obj {
struct nft_cache_filter {
struct {
+ uint32_t family;
const char *table;
const char *set;
} list;