diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-15 16:37:32 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-16 16:58:29 +0200 |
commit | 742baabd185c326cc2125e648e240894362eb31c (patch) | |
tree | f6eaac384aa213ba290a7f05bd244486ea0bc58d /iptables/xtables-save.c | |
parent | 1ecef0bbc318bab9f8dac4498acacb210b0915fc (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 <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-save.c')
-rw-r--r-- | iptables/xtables-save.c | 2 |
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); |