From 742baabd185c326cc2125e648e240894362eb31c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 15 Sep 2015 16:37:32 +0200 Subject: 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 --- iptables/xtables-save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/xtables-save.c') 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); -- cgit v1.2.3