summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-10-17 15:24:30 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-10-18 10:41:59 +0200
commit8ecb8855895915513e757ffc8d3b7342e63e9fe6 (patch)
tree7878b39b08e0b9d46826b6ddd2926c032a05825f /include
parent4c3f2f234441046ee11ad3d93bdbee08cf5d8abd (diff)
src: restore --echo with anonymous sets
If --echo is passed, then the cache already contains the commands that have been sent to the kernel. However, anonymous sets are an exception since the cache needs to be updated in this case. Remove the old cache logic from the monitor code that has been replaced by 01e5c6f0ed03 ("src: add cache level flags"). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include')
-rw-r--r--include/netlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/netlink.h b/include/netlink.h
index 279723f3..e6941714 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -171,7 +171,6 @@ struct netlink_mon_handler {
struct netlink_ctx *ctx;
const struct location *loc;
unsigned int debug_mask;
- bool cache_needed;
struct nft_cache *cache;
};