MFC r204279:

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
This commit is contained in:
Bjoern A. Zeeb 2010-03-27 17:40:28 +00:00
parent 0519db7239
commit 1386abc0a7

View File

@ -3453,7 +3453,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;