Fix "netstat -gW" behavior broken in r259638.
authormelifaro <melifaro@FreeBSD.org>
Tue, 29 Apr 2014 16:51:28 +0000 (16:51 +0000)
committermelifaro <melifaro@FreeBSD.org>
Tue, 29 Apr 2014 16:51:28 +0000 (16:51 +0000)
commit628b4e1d29957a3856002e185e3ed16cf545188a
treeb3732420fc001becc954d502ce1546ca24b26630
parentaa4f79bd1b9d9dce8f27070ef595729529a56807
Fix "netstat -gW" behavior broken in r259638.
netstat has two options for printing multicast tables:
sysctl (the default one for live systems) and kvm-based one (for cores).
It looks like kvm-based one hasn't been working since it's been introduced
in r190012 due to absence of mfctablesize kernel symbol.
Check for all ipv4-multicast symbols being correctly resolved was introduced
in r259638 regardless of 'live' value leading to "No IPv4 MROUTING" error
message.

Reported by: Olivier Cochard-LabbĂ©
MFC after: 1 week
usr.bin/netstat/mroute.c