Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 15:54:25 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204279 - head/sys/net
Message-ID:  <201002241554.o1OFsPDd031827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002241554.o1OFsPDd031827>