summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.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/xtables-restore.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/xtables-restore.c')
-rw-r--r--iptables/xtables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c
index e66f10cd..8469ba1a 100644
--- a/iptables/xtables-restore.c
+++ b/iptables/xtables-restore.c
@@ -326,7 +326,7 @@ xtables_restore_main(int argc, char *argv[])
exit(1);
}
- chain_obj = nft_chain_list_find(&h, chain_list,
+ chain_obj = nft_chain_list_find(chain_list,
curtable, chain);
/* This chain has been found, delete from list. Later
* on, unvisited chains will be purged out.