Improve "ipfw talist" readability.

This commit is contained in:
Alexander V. Chernikov 2014-07-30 15:01:32 +00:00
parent b23d5de9b6
commit 8ce7a2bc03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/ipfw/; revision=269305

View File

@ -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);
}