From owner-svn-src-head@FreeBSD.ORG Wed Feb 24 15:54:25 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FEAC106566C; Wed, 24 Feb 2010 15:54:25 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2FE0B8FC1B; Wed, 24 Feb 2010 15:54:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o1OFsP00031829; Wed, 24 Feb 2010 15:54:25 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1OFsPDd031827; Wed, 24 Feb 2010 15:54:25 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201002241554.o1OFsPDd031827@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Wed, 24 Feb 2010 15:54:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r204279 - head/sys/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2010 15:54:25 -0000 Author: bz Date: Wed Feb 24 15:54:24 2010 New Revision: 204279 URL: http://svn.freebsd.org/changeset/base/204279 Log: Use the DB_SHOW_ALL_COMMAND() macro to register the formerly 'show ifnets' in the db_show_all_table as 'show all ifnets' and with that follow the convention for showing complete lists. Submitted by: thompsa MFC after: 3 days Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Wed Feb 24 15:52:18 2010 (r204278) +++ head/sys/net/if.c Wed Feb 24 15:54:24 2010 (r204279) @@ -3389,7 +3389,7 @@ DB_SHOW_COMMAND(ifnet, db_show_ifnet) if_show_ifnet((struct ifnet *)addr); } -DB_SHOW_COMMAND(ifnets, db_show_ifnets) +DB_SHOW_ALL_COMMAND(ifnets, db_show_all_ifnets) { VNET_ITERATOR_DECL(vnet_iter); struct ifnet *ifp;