Subject: netstat(1) broken for some time now
To: None <current-users@netbsd.org>
From: Nino Dehne <ndehne@gmail.com>
List: current-users
Date: 09/14/2006 21:01:32
Hi,

I noticed in 4.0_BETA and now in 4.99.1 that netstat must be broken somehow.

# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu  Interface
default            [...]              UGS         -   pppoe0
[...]
127/8              127.0.0.1          UGRS    33192   lo0
127.0.0.1          127.0.0.1          UH      33192   lo0
[...]

Notice how the columns Refs and Use are empty. Also, where the default route
for IPv6 ought to be, there is just:

netstat: illegal prefixlen

IPv6 route handling is done by aiccu. However, even if I reset the default
route by hand I get the same output.

Regards,

ND