diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-20 16:09:13 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-27 20:42:00 +0100 |
commit | 63dc7a0d86a1b86b10c5e04dd910497b9d8fcfaf (patch) | |
tree | 2d3e6317ef0edd598819352e50d014a8625b8c40 /iptables/nft.h | |
parent | 947c51c95edbbf08d6b3c105177ac5cfa238aade (diff) |
nft: Drop nft_chain_list_find()
Replace the function by nftnl_chain_list_lookup_byname() as provided by
libnftnl.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 6568257f..dfdffd69 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -83,8 +83,6 @@ struct nftnl_chain; int nft_chain_set(struct nft_handle *h, const char *table, const char *chain, const char *policy, const struct xt_counters *counters); struct nftnl_chain_list *nft_chain_list_get(struct nft_handle *h, const char *table); -struct nftnl_chain *nft_chain_list_find(struct nftnl_chain_list *list, - const char *chain); int nft_chain_save(struct nft_handle *h, struct nftnl_chain_list *list); int nft_chain_user_add(struct nft_handle *h, const char *chain, const char *table); int nft_chain_user_del(struct nft_handle *h, const char *chain, const char *table, bool verbose); |