[BusyBox-cvs] [BusyBox 0000115]: ifenslave

bugs at busybox.net bugs at busybox.net
Thu Aug 4 20:08:19 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=115 
====================================================================== 
Reported By:                marc
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   115
Category:                   New Features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-18-2005 11:12 PST
Last Modified:              08-04-2005 13:08 PDT
====================================================================== 
Summary:                    ifenslave
Description: 
>Attached a (trivial) patch to add ifenslave to the busybox program. I     
                    
>will add some more documentation in the next weeks (maybe months) to     
                     
>this applet, but currently it has all the documentation available with   
                     
>the ifenslave program.                                                   
                
>                                                                         
                     
>ifenslave allows to bind 2 (or more?) physical interfaces to one logical 
                     
>one, offering some level of redundancy.                                  
                     
>                                                                         
                     
>The patch is against 1.00                                                
                     
>                                                                         
                     
>P.S. I forwarded this to busybox-owner (I assumed I was on the busybox   
                     
>list but apparently, I was not). `(S)?h:H`.e can ignore that patch; it's 
                     
>essentially the same (only a different contact e-mail).  
====================================================================== 

---------------------------------------------------------------------- 
 marc - 03-25-05 04:55  
---------------------------------------------------------------------- 
The following patch needs to be applied, I need to restudy the term
'alphabetically ordered'.

/Me humbly throws himself at the mercy of the coding gods.

[mleeman at gemini busybox-1.00]$ cvs diff -up ./include/applets.h
Index: ./include/applets.h
===================================================================
RCS file:
/home/services/cvs/firmware/ppc/busybox-1.00/include/applets.h,v
retrieving revision 1.1
diff -u -p -r1.1 applets.h
--- ./include/applets.h 18 Feb 2005 11:19:47 -0000      1.1
+++ ./include/applets.h 25 Mar 2005 12:53:33 -0000
@@ -271,12 +271,12 @@
 #ifdef CONFIG_IFCONFIG
        APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
 #endif
-#ifdef CONFIG_IFENSLAVE
-       APPLET(ifenslave, ifenslave_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
-#endif
 #ifdef CONFIG_IFUPDOWN
        APPLET(ifdown, ifupdown_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
 #endif
+#ifdef CONFIG_IFENSLAVE
+       APPLET(ifenslave, ifenslave_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_IFUPDOWN
        APPLET(ifup, ifupdown_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
 #endif 

---------------------------------------------------------------------- 
 pgf - 08-04-05 13:08  
---------------------------------------------------------------------- 
i've done just enough on this to come up with a proper patch file
(ifenslave.pat), rather than the tar of individual diffs originally
provided.  and i've included the alphabetical reordering mentioned in the
other note.

however, this applet isn't ready for primetime, in my opinion.  it hasn't
been trimmed or modified at all, as far as i can tell, and makes no use of
the libbb.  someone should probably do some of that cleanup before this is
applied. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-18-05 11:12  marc           New Issue                                    
02-18-05 11:12  marc           File Added: ifenslave.tar.bz2                    
02-18-05 12:45  marc           Issue Monitored: marc                        
03-16-05 12:27  andersen       Assigned To              andersen => BusyBox 
03-25-05 04:55  marc           Note Added: 0000118                          
08-04-05 13:05  pgf            File Added: ifenslave.pat                    
08-04-05 13:08  pgf            Note Added: 0000382                          
======================================================================




More information about the busybox-cvs mailing list