NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/48850: netstat -i => ifnet: symbol not defined



>Number:         48850
>Category:       bin
>Synopsis:       netstat(1) ifnet: symbol not defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 29 23:45:00 +0000 2014
>Originator:     jgw
>Release:        NetBSD 6.99.43
>Organization:
        
>Environment:
        
        
System: NetBSD ituner.sleepy.cat 6.99.43 NetBSD 6.99.43 (GENERIC) #0: Sun May 
25 19:08:27 UTC 2014 
builds%b41.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201405251620Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        
Something changed in /usr/bin/netstat such that it's not able to locate
the system network interfaces when passed the either "-i" or "-I <nic>",
the typical usage as found in /etc/daily:

example:

  % ifconfig -l
  vr0 lo0

  % netstat -i
  ifnet: symbol not defined

  % netstat -I lo0
  ifnet: symbol not defined

  % netstat -I vr0
  ifnet: symbol not defined

The bug is not in recent 5.x snapshots but does appear in 6.x and current

>How-To-Repeat:
        
See above.

>Fix:
        
Probably need to fix something in /src/usr.bin/netstat/if.c

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index