netstat and ipv6

Brooks Davis brooks at one-eyed-alien.net
Fri Jul 14 22:18:42 UTC 2006


On Fri, Jul 14, 2006 at 03:13:46PM -0700, Julian Elischer wrote:
> is ther ean official way that netstat should be using to NOT try fo ipv6 
> stuff?
> 
> 
> %netstat -s>/dev/null
> Warning: sysctl(net.inet6.ip6.rip6stats): No such file or directory
> 
> (hoping someone has a quick answer.. I'll go source diving later today 
> if there isn't
> an "official" thing that should be tested.)

I'd say that's a bug, plain and simple.  If net.inet6 doesn't exist
netstat should just shut up since it's perfectly reasonable to compile
v6 support out of the kernel.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060714/98818ec8/attachment.pgp


More information about the freebsd-current mailing list