From 4e2020952d6f9a8b1b271706dfa72c0c76e804a0 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 26 May 2018 11:34:34 +0200 Subject: xtables: use libnftnl batch API Use existing batching API from library, the existing code relies on an earlier implementation of it. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 5d0576c8..515832d7 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -32,7 +32,8 @@ struct nft_handle { uint32_t seq; struct list_head obj_list; int obj_list_num; - struct mnl_nlmsg_batch *batch; + struct nftnl_batch *batch; + struct list_head err_list; struct nft_family_ops *ops; struct builtin_table *tables; struct nftnl_rule_list *rule_cache; -- cgit v1.2.3