netstat and ipv6

Kevin Oberman oberman at es.net
Fri Jul 14 22:21:13 UTC 2006


> 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 don't have any non-IPv6 systems, but 'systat -sf inet' seems to do what you want.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634




More information about the freebsd-current mailing list