path: root/iptables/xtables-save.c
diff options
authorPablo Neira Ayuso <>2015-09-15 16:37:32 +0200
committerPablo Neira Ayuso <>2015-09-16 16:58:29 +0200
commit742baabd185c326cc2125e648e240894362eb31c (patch)
treef6eaac384aa213ba290a7f05bd244486ea0bc58d /iptables/xtables-save.c
parent1ecef0bbc318bab9f8dac4498acacb210b0915fc (diff)
iptables-compat: use new symbols in libnftnl
Adapt this code to use the new symbols in libnftnl. This patch contains quite some renaming to reserve the nft_ prefix for our high level library. Explicitly request libnftnl 1.0.5 at configure stage. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/xtables-save.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-save.c b/iptables/xtables-save.c
index 6b33bed0..50b5b5ae 100644
--- a/iptables/xtables-save.c
+++ b/iptables/xtables-save.c
@@ -40,7 +40,7 @@ static const struct option options[] = {
static int
do_output(struct nft_handle *h, const char *tablename, bool counters)
- struct nft_chain_list *chain_list;
+ struct nftnl_chain_list *chain_list;
if (!tablename)
return nft_for_each_table(h, do_output, counters);