From owner-cvs-src@FreeBSD.ORG Tue Aug 5 10:01:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EECF37B401; Tue, 5 Aug 2003 10:01:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE9743F75; Tue, 5 Aug 2003 10:01:33 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h75H1X0U046526; Tue, 5 Aug 2003 10:01:33 -0700 (PDT) (envelope-from hsu@repoman.freebsd.org) Received: (from hsu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h75H1Xux046525; Tue, 5 Aug 2003 10:01:33 -0700 (PDT) Message-Id: <200308051701.h75H1Xux046525@repoman.freebsd.org> From: Jeffrey Hsu Date: Tue, 5 Aug 2003 10:01:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_mroute.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 17:01:34 -0000 hsu 2003/08/05 10:01:33 PDT FreeBSD src repository Modified files: sys/netinet ip_mroute.c Log: * makes mfc[MFCTBLSIZ] and vif[MAXVIFS] tables accessible via sysctl: - sysctlbyname("net.inet.ip.mfctable", ...) - sysctlbyname("net.inet.ip.viftable", ...) This change is needed so netstat can use sysctlbyname() to read the data from those tables. Otherwise, in some cases "netstat -g" may fail to report the multicast forwarding information (e.g., if we run a multicast router on PicoBSD). * Bug fix: when sending IGMPMSG_WRONGVIF upcall to the multicast routing daemon, set properly "im->im_vif" to the receiving incoming interface of the packet that triggered that upcall rather than to the expected incoming interface of that packet. * Bug fix: add missing increment of counter "mrtstat.mrts_upcalls" * Few formatting nits (e.g., replace extra spaces with TABs) Submitted by: Pavlin Radoslavov Revision Changes Path 1.88 +24 -9 src/sys/netinet/ip_mroute.c