summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rule.c b/src/rule.c
index 2fe25206..ab533dac 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -733,7 +733,7 @@ static int do_command_export(struct netlink_ctx *ctx, struct cmd *cmd)
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;
@@ -837,10 +837,10 @@ static int do_command_list(struct netlink_ctx *ctx, struct cmd *cmd)
}
table_print(table);
- do_command_list_cleanup(table);
+ table_cleanup(table);
return 0;
err:
- do_command_list_cleanup(table);
+ table_cleanup(table);
return -1;
}