From owner-svn-src-all@FreeBSD.ORG Sun Feb 15 16:16:39 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D2E1065675; Sun, 15 Feb 2009 16:16:39 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 465FB8FC16; Sun, 15 Feb 2009 16:16:39 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1FGGdLV083032; Sun, 15 Feb 2009 16:16:39 GMT (envelope-from bms@svn.freebsd.org) Received: (from bms@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1FGGdE1083028; Sun, 15 Feb 2009 16:16:39 GMT (envelope-from bms@svn.freebsd.org) Message-Id: <200902151616.n1FGGdE1083028@svn.freebsd.org> From: Bruce M Simpson Date: Sun, 15 Feb 2009 16:16:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188649 - head/usr.bin/netstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 16:16:41 -0000 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 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 *);