From e127d223d01aaa0886c7f279110ac36651b9a057 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Tue, 16 Jul 2013 22:07:22 +0200 Subject: xtables: Remove useless parameter to nft_chain_list_find Signed-off-by: Tomasz Bursztyka Signed-off-by: Pablo Neira Ayuso --- iptables/xtables-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/xtables-restore.c') 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. -- cgit v1.2.3