diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-28 18:48:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-28 23:54:44 +0200 |
commit | 01e25e264a4c4872fc0b1b50b4ee83768e7c0248 (patch) | |
tree | 5c52548fb5d7ae1c438d7e466d388eb12f3e333c /iptables/xtables-save.c | |
parent | 8d190e98564f0ed119f14444367970b7a4ecd7d2 (diff) |
xtables: add chain cache
So we don't have to dump the chain cache content over and over again.
Moreover, perform incremental updates on the chain cache to add and to
delete non-base chains.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-save.c')
-rw-r--r-- | iptables/xtables-save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-save.c b/iptables/xtables-save.c index be98b835..8bcc31fd 100644 --- a/iptables/xtables-save.c +++ b/iptables/xtables-save.c @@ -57,7 +57,7 @@ do_output(struct nft_handle *h, const char *tablename, bool counters) return 0; } - chain_list = nft_chain_dump(h, tablename); + chain_list = nft_chain_dump(h); time_t now = time(NULL); |