]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: restore --echo with anonymous sets
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Oct 2019 13:24:30 +0000 (15:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Oct 2019 08:41:59 +0000 (10:41 +0200)
commit8ecb8855895915513e757ffc8d3b7342e63e9fe6
tree7878b39b08e0b9d46826b6ddd2926c032a05825f
parent4c3f2f234441046ee11ad3d93bdbee08cf5d8abd
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>
include/netlink.h
src/monitor.c
src/rule.c