From 8ecb8855895915513e757ffc8d3b7342e63e9fe6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 17 Oct 2019 15:24:30 +0200 Subject: 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 Acked-by: Phil Sutter --- include/netlink.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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; }; -- cgit v1.2.3