[uClibc 0000099]: if_nameindex doesn't list all interfaces

bugs at busybox.net bugs at busybox.net
Fri Jan 6 04:58:06 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=99 
====================================================================== 
Reported By:                weber
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   99
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-12-2005 03:53 PST
Last Modified:              01-05-2006 20:58 PST
====================================================================== 
Summary:                    if_nameindex doesn't list all interfaces
Description: 
if_nameindex only lists the first three or four interfaces. configuring
some virtual interfaces with ifconfig and using if_nameindex afterwards
should reproduce this failure.
====================================================================== 

---------------------------------------------------------------------- 
 vapier - 01-05-06 17:19  
---------------------------------------------------------------------- 
the code in uClibc is correct ... the issue is that we're using the older
style of asking the kernel for interface information via ioctl's ... the
kernel doesnt export all the interfaces via that method anymore

we would have to add the newer method of querying via netlink to get all
of the interfaces 

---------------------------------------------------------------------- 
 vapier - 01-05-06 20:58  
---------------------------------------------------------------------- 
svn now has an option, UCLIBC_USE_NETLINK, which should fix this issue 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-12-05 03:53  weber          New Issue                                    
03-16-05 11:55  andersen       Assigned To              andersen => uClibc  
01-05-06 17:19  vapier         Note Added: 0000856                          
01-05-06 20:58  vapier         Note Added: 0000862                          
01-05-06 20:58  vapier         Status                   assigned => closed  
01-05-06 20:58  vapier         Resolution               open => fixed       
======================================================================




More information about the uClibc-cvs mailing list