svn commit: r204279 - head/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Feb 24 15:54:25 UTC 2010
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;
More information about the svn-src-head
mailing list