path: root/iptables/nft.h
diff options
authorPablo Neira Ayuso <>2018-05-26 11:34:34 +0200
committerPablo Neira Ayuso <>2018-05-26 19:12:41 +0200
commit4e2020952d6f9a8b1b271706dfa72c0c76e804a0 (patch)
treec39f2aba552b4e69350e1b80095512215c551cc1 /iptables/nft.h
parent49709e2ac6cf778e8732e9b0ca124da556ed6a91 (diff)
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 <>
Diffstat (limited to 'iptables/nft.h')
1 files changed, 2 insertions, 1 deletions
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;