Bug 27315

Summary: netstat says "netstat: kvm_read: Bad address"
Product: Base System Reporter: sblank <sblank>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   

Description sblank 2001-05-14 13:10:01 UTC
When doing a "netstat -nr" on my system to show the routing information
I get the following error:

sblank in ~ (3)> netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
10                 link#1             UC          0        0      ed0 =>
netstat: kvm_read: Bad address
10.0.0.2           0:0:c0:e7:40:65    UHLW        0        3      ed0   1197
127.0.0.1          127.0.0.1          UH          0        0      lo0

Notice the "Bad address" error displayed above.  If I add the "-a" flag,
the error goes away.

sblank in ~ (4)> netstat -nra
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
10                 link#1             UC          0        0      ed0 =>
10.0.0.2           0:0:c0:e7:40:65    UHLW        0        3      ed0    826
127.0.0.1          127.0.0.1          UH          0        0      lo0

Fix: 

Not sure about it yet.
How-To-Repeat: 
See description.
Comment 1 ru freebsd_committer freebsd_triage 2001-05-14 13:25:01 UTC
State Changed
From-To: open->closed

Duplicate of PR#27280.