[patch] add ip addr del alias for delete [was: Re: ipaddr applet query]

Rob Landley rob at landley.net
Thu Mar 30 21:24:23 UTC 2006


On Thursday 30 March 2006 6:53 am, Bernhard Fischer wrote:
> On Thu, Mar 30, 2006 at 10:06:28AM +1030, Adam Hawes wrote:
> >All,
> >
> >I'm using Busybox 1.01 (and have just tried 1.1.1) with an
> >embedded box.  I'm trying to use the ipaddr applet to add and
> >remove ip aliasses to interfaces dynamically.
> >
> >I have no problem with the add command, but the documentation
> >lists a "del" command.  If I use the "del" command the applet
> >reports an error about non-existing commands.
> >
> >I've found that the "delete" command is supported and appears
> >to do exactly what I intend.  The documentation is slightly
> >inaccurate in this case.  Perhaps it would be useful to
> >update the command-line parser or the documentation for the
> >ipaddr applet so that they match up.
>
> Please let me know if the attached patch fixes the missing "del" command
> for you.

Do we really need to support both "delete" and "del"?  Does the mainline one 
support "delete"?

Yes it does.  It apparently also supports "de", "dele", and "delet"...

Ick.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list