summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index b2090ddd..39b4d9a8 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -928,7 +928,9 @@ static int do_command_list(struct netlink_ctx *ctx, struct cmd *cmd)
return -1;
list_for_each_entry(table, &ctx->list, list) {
- printf("table %s\n", table->handle.table);
+ printf("table %s %s\n",
+ family2str(table->handle.family),
+ table->handle.table);
}
return 0;
}