summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2010-02-24 15:54:24 +0000
committerbz <bz@FreeBSD.org>2010-02-24 15:54:24 +0000
commit44a0d7a58845f1810dff5b67301446a206ab59ba (patch)
treef26a1cc87cde6a43e5e0164970cf15920bdfc85b /sys/net/if.c
parente7e1754f546de4b9a2a6525196bad4f98030e416 (diff)
downloadFreeBSD-src-44a0d7a58845f1810dff5b67301446a206ab59ba.zip
FreeBSD-src-44a0d7a58845f1810dff5b67301446a206ab59ba.tar.gz
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
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 9413da4..38b1d50 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -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;
OpenPOWER on IntegriCloud