[BusyBox 0001284]: "ifconfig" can't list alias of network interface (with patch)

bugs at busybox.net bugs at busybox.net
Thu Mar 22 19:36:23 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1284 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1284
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             03-21-2007 18:43 PDT
Last Modified:              03-22-2007 12:36 PDT
====================================================================== 
Summary:                    "ifconfig" can't list alias of network interface
(with patch)
Description: 
Since revision 18120, "ifconfig" can't list any alias of network interface,
or can't show statistics of network interface.

Patch as following:

Index: networking/interface.c
===================================================================
--- networking/interface.c      (revision 18200)
+++ networking/interface.c      (working copy)
@@ -592,7 +592,10 @@

 static int if_readlist(void)
 {
-       return if_readlist_proc(NULL);
+       int err = if_readlist_proc(NULL);
+       if (!err)
+               err = if_readconf();
+       return err;
 }


====================================================================== 

---------------------------------------------------------------------- 
 vda - 03-22-07 12:36  
---------------------------------------------------------------------- 
Applied in rev 18208. Thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-21-07 18:43  rockeychu      New Issue                                    
03-21-07 18:43  rockeychu      Status                   new => assigned     
03-21-07 18:43  rockeychu      Assigned To               => BusyBox         
03-22-07 12:36  vda            Status                   assigned => closed  
03-22-07 12:36  vda            Note Added: 0002272                          
======================================================================




More information about the busybox-cvs mailing list