summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-09-29 18:01:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-09-30 00:30:49 +0200
commit635ee1cad8aa03263f56ff9d29c77942cf514d4e (patch)
treec669a0abbde5a17a9dd4b080ba2f52bf6ad187ff /include
parent3f1d3912c3a6b42158149a97f59d1c01debfd132 (diff)
cache: filter out sets and maps that are not requested
Do not fetch set content for list commands that specify a set name. 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 3130b2c0..05233588 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -40,6 +40,7 @@ enum cache_level_flags {
struct nft_cache_filter {
const char *table;
+ const char *set;
};
struct nft_cache;