path: root/iptables/nft.h
diff options
authorTomasz Bursztyka <>2014-02-11 18:36:43 +0200
committerPablo Neira Ayuso <>2014-02-12 10:10:10 +0100
commit690ea18fdd6f8bc12322a729a2f7c97d8e731c43 (patch)
tree430d646144110a8b97c31c621516c913431f8941 /iptables/nft.h
parent837629fed24af7298fbf4cd28c7a51f24b70ee93 (diff)
nft: A builtin chain might be created when restoring
nft_chain_set() is directly used in xtables-restore.c, however at that point no builtin chains have been created yet thus the need to request to build it relevantly. Signed-off-by: Tomasz Bursztyka <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/nft.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index 92488764..3b58d514 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -34,6 +34,7 @@ struct nft_handle {
struct mnl_nlmsg_batch *batch;
struct nft_family_ops *ops;
struct builtin_table *tables;
+ bool restore;
extern struct builtin_table xtables_ipv4[TABLES_MAX];