From owner-svn-src-projects@FreeBSD.ORG Wed Jul 30 15:01:33 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78756EB0; Wed, 30 Jul 2014 15:01:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 666FD29FF; Wed, 30 Jul 2014 15:01:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6UF1XHM068837; Wed, 30 Jul 2014 15:01:33 GMT (envelope-from melifaro@svn.freebsd.org) Received: (from melifaro@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6UF1X5Z068836; Wed, 30 Jul 2014 15:01:33 GMT (envelope-from melifaro@svn.freebsd.org) Message-Id: <201407301501.s6UF1X5Z068836@svn.freebsd.org> From: "Alexander V. Chernikov" Date: Wed, 30 Jul 2014 15:01:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r269305 - projects/ipfw/sbin/ipfw X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 15:01:33 -0000 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); }