diff options
author | hsu <hsu@FreeBSD.org> | 2003-08-05 17:01:33 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-08-05 17:01:33 +0000 |
commit | e3e094a1f909528238a5b880910cff77d28146b9 (patch) | |
tree | 91a6010b6265daa4c8013d1bc082a2ef26b769d6 /usr.bin | |
parent | 186be00c7486a491b16114fda3e051d4a4fb0e75 (diff) | |
download | FreeBSD-src-e3e094a1f909528238a5b880910cff77d28146b9.zip FreeBSD-src-e3e094a1f909528238a5b880910cff77d28146b9.tar.gz |
* 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>
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions