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
This commit is contained in:
Bjoern A. Zeeb 2010-02-24 15:54:24 +00:00
parent 2e5514defa
commit 7405f23cd7

View File

@ -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;