svn commit: r269305 - projects/ipfw/sbin/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Wed Jul 30 15:01:33 UTC 2014
Author: melifaro
Date: Wed Jul 30 15:01:32 2014
New Revision: 269305
URL: http://svnweb.freebsd.org/changeset/base/269305
Log:
Improve "ipfw talist" readability.
Modified:
projects/ipfw/sbin/ipfw/tables.c
Modified: projects/ipfw/sbin/ipfw/tables.c
==============================================================================
--- projects/ipfw/sbin/ipfw/tables.c Wed Jul 30 14:52:26 2014 (r269304)
+++ projects/ipfw/sbin/ipfw/tables.c Wed Jul 30 15:01:32 2014 (r269305)
@@ -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);
}
More information about the svn-src-projects
mailing list