Let's use a more generic name for this functions, since it has nothing to do
with commands.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
return 0;
}
-static void do_command_list_cleanup(struct table *table)
+static void table_cleanup(struct table *table)
{
struct chain *chain, *nchain;
struct set *set, *nset;
}
table_print(table);
- do_command_list_cleanup(table);
+ table_cleanup(table);
return 0;
err:
- do_command_list_cleanup(table);
+ table_cleanup(table);
return -1;
}