svn commit: r188649 - head/usr.bin/netstat
Bruce M Simpson
bms at FreeBSD.org
Sun Feb 15 08:16:41 PST 2009
Author: bms
Date: Sun Feb 15 16:16:38 2009
New Revision: 188649
URL: http://svn.freebsd.org/changeset/base/188649
Log:
Now that ifmcstat(8) does not suck, retire host-mode netstat -g.
This change will not be back-ported.
Deleted:
head/usr.bin/netstat/mcast.c
Modified:
head/usr.bin/netstat/Makefile
head/usr.bin/netstat/main.c
head/usr.bin/netstat/netstat.1
head/usr.bin/netstat/netstat.h
Modified: head/usr.bin/netstat/Makefile
==============================================================================
--- head/usr.bin/netstat/Makefile Sun Feb 15 16:05:48 2009 (r188648)
+++ head/usr.bin/netstat/Makefile Sun Feb 15 16:16:38 2009 (r188649)
@@ -4,7 +4,7 @@
.include <bsd.own.mk>
PROG= netstat
-SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \
+SRCS= if.c inet.c main.c mbuf.c mroute.c route.c \
unix.c atalk.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c
WARNS?= 3
Modified: head/usr.bin/netstat/main.c
==============================================================================
--- head/usr.bin/netstat/main.c Sun Feb 15 16:05:48 2009 (r188648)
+++ head/usr.bin/netstat/main.c Sun Feb 15 16:16:38 2009 (r188649)
@@ -558,7 +558,6 @@ main(int argc, char *argv[])
nl[N_MIF6TABLE].n_value);
#endif
}
- ifmalist_dump();
exit(0);
}
Modified: head/usr.bin/netstat/netstat.1
==============================================================================
--- head/usr.bin/netstat/netstat.1 Sun Feb 15 16:05:48 2009 (r188648)
+++ head/usr.bin/netstat/netstat.1 Sun Feb 15 16:16:38 2009 (r188649)
@@ -32,7 +32,7 @@
.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd May 16, 2008
+.Dd February 15, 2009
.Dt NETSTAT 1
.Os
.Sh NAME
@@ -265,9 +265,15 @@ is repeated, counters with a value of ze
.Op Fl N Ar system
.Ek
.Xc
-Show information related to multicast (group address) routing.
-By default, show the IP Multicast virtual-interface and routing tables,
-and multicast group memberships.
+Display the contents of the multicast virtual interface tables,
+and multicast forwarding caches.
+Entries in these tables will appear only when the kernel is
+actively forwarding multicast sessions.
+This option is applicable only to the
+.Cm inet
+and
+.Cm inet6
+address families.
.It Xo
.Bk -words
.Nm
Modified: head/usr.bin/netstat/netstat.h
==============================================================================
--- head/usr.bin/netstat/netstat.h Sun Feb 15 16:05:48 2009 (r188648)
+++ head/usr.bin/netstat/netstat.h Sun Feb 15 16:16:38 2009 (r188649)
@@ -160,7 +160,6 @@ void tp_protopr(u_long, const char *, in
void tp_inproto(u_long);
void tp_stats(caddr_t, caddr_t);
-void ifmalist_dump(void);
void mroutepr(u_long, u_long);
void mrt_stats(u_long);
void bpf_stats(char *);
More information about the svn-src-all
mailing list