diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2013-07-16 22:07:22 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:36 +0100 |
commit | e127d223d01aaa0886c7f279110ac36651b9a057 (patch) | |
tree | 61f310f96f49baa2d060cf3afa44b7ca281540ca /iptables/nft.c | |
parent | f6b30db46e5e3d32c76b186361853b5a5ecaf99f (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.c | 4 |
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, |