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

bugs at busybox.net bugs at busybox.net
Thu Mar 22 01:43:11 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             03-21-2007 18:43 PDT
Last Modified:              03-21-2007 18:43 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;
 }


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

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         
======================================================================




More information about the busybox-cvs mailing list