From 8ce7a2bc03a8e1d3a579fecc4960b610de50cbbb Mon Sep 17 00:00:00 2001 From: "Alexander V. Chernikov" Date: Wed, 30 Jul 2014 15:01:32 +0000 Subject: [PATCH] Improve "ipfw talist" readability. --- sbin/ipfw/tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c index 1cebc7693ef..ca01c1af2d5 100644 --- a/sbin/ipfw/tables.c +++ b/sbin/ipfw/tables.c @@ -956,9 +956,9 @@ ipfw_list_ta(int ac, char *av[]) for (i = 0; i < olh->count; i++) { if ((atype = match_value(tabletypes, info->type)) == NULL) atype = "unknown"; + printf("--- %s ---\n", info->algoname); + printf(" type: %s\n refcount: %u\n", atype, info->refcnt); - printf("%s type: %s references: %u\n", info->algoname, - atype, info->refcnt); info = (ipfw_ta_info *)((caddr_t)info + olh->objsize); }