diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-04 11:41:10 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-05 10:05:44 +0200 |
commit | d1eb4d58729736773d1c5cc106451e2851427850 (patch) | |
tree | 8afb1a872df21b1bcf1f012ccac2586f16258bb7 /iptables/nft-shared.h | |
parent | 09f0d47b213de944303a320a70bf57e143bfed62 (diff) |
iptables-compat: chains are purge out already from table flush
Remove dead code that uses the ancient non-batch netlink API. Chains
are already purged out from table flush.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r-- | iptables/nft-shared.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index 089828a3..56b270e5 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -246,8 +246,6 @@ struct nftnl_chain_list; struct nft_xt_restore_cb { void (*table_new)(struct nft_handle *h, const char *table); struct nftnl_chain_list *(*chain_list)(struct nft_handle *h); - int (*chains_purge)(struct nft_handle *h, const char *table, - struct nftnl_chain_list *clist); void (*chain_del)(struct nftnl_chain_list *clist, const char *curtable, const char *chain); int (*chain_set)(struct nft_handle *h, const char *table, |