summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-28 05:10:56 +0000
committershin <shin@FreeBSD.org>2000-01-28 05:10:56 +0000
commit417b54f8df0382bc71e299bb3cf35e74b2579e6c (patch)
tree4d242bbd1d32138424f41ea1ee419cb9768308bf /usr.bin/netstat/main.c
parentb223e32eeea5f93619a53d365ddc73c6a3c16bf4 (diff)
downloadFreeBSD-src-417b54f8df0382bc71e299bb3cf35e74b2579e6c.zip
FreeBSD-src-417b54f8df0382bc71e299bb3cf35e74b2579e6c.tar.gz
IPv6 multicast routing.
kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution. Make world check and kernel build check was also successful.
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 5f01f8e..6ce6dcd 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -133,7 +133,6 @@ static struct nlist nl[] = {
{ "_ipsecstat" },
#define N_IPSEC6STAT 31
{ "_ipsec6stat" },
-#ifdef notyet
#define N_PIM6STAT 32
{ "_pim6stat" },
#define N_MRT6PROTO 33
@@ -144,7 +143,6 @@ static struct nlist nl[] = {
{ "_mf6ctable" },
#define N_MIF6TABLE 36
{ "_mif6table" },
-#endif
{ "" },
};
@@ -481,22 +479,18 @@ main(argc, argv)
if (af == AF_INET || af == AF_UNSPEC)
mrt_stats(nl[N_MRTSTAT].n_value);
#ifdef INET6
-#ifdef notyet
if (af == AF_INET6 || af == AF_UNSPEC)
mrt6_stats(nl[N_MRT6STAT].n_value);
#endif
-#endif
} else {
if (af == AF_INET || af == AF_UNSPEC)
mroutepr(nl[N_MFCTABLE].n_value,
nl[N_VIFTABLE].n_value);
#ifdef INET6
-#ifdef notyet
if (af == AF_INET6 || af == AF_UNSPEC)
mroute6pr(nl[N_MF6CTABLE].n_value,
nl[N_MIF6TABLE].n_value);
#endif
-#endif
}
exit(0);
}
OpenPOWER on IntegriCloud