Date: Tue, 5 Aug 2003 10:01:33 -0700 (PDT) From: Jeffrey Hsu <hsu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_mroute.c Message-ID: <200308051701.h75H1Xux046525@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <pavlin@icir.org> Revision Changes Path 1.88 +24 -9 src/sys/netinet/ip_mroute.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308051701.h75H1Xux046525>