summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2013-07-16 22:07:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:36 +0100
commite127d223d01aaa0886c7f279110ac36651b9a057 (patch)
tree61f310f96f49baa2d060cf3afa44b7ca281540ca /iptables/nft.c
parentf6b30db46e5e3d32c76b186361853b5a5ecaf99f (diff)
xtables: Remove useless parameter to nft_chain_list_find
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.c')
-rw-r--r--iptables/nft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/nft.c b/iptables/nft.c
index 50341148..87db9be5 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -1434,7 +1434,7 @@ err:
}
struct nft_chain *
-nft_chain_list_find(struct nft_handle *h, struct nft_chain_list *list,
+nft_chain_list_find(struct nft_chain_list *list,
const char *table, const char *chain)
{
struct nft_chain_list_iter *iter;
@@ -1475,7 +1475,7 @@ nft_chain_find(struct nft_handle *h, const char *table, const char *chain)
if (list == NULL)
return NULL;
- return nft_chain_list_find(h, list, table, chain);
+ return nft_chain_list_find(list, table, chain);
}
int nft_chain_user_rename(struct nft_handle *h,const char *chain,