[BusyBox] Patch to network/ifupdown.c

Erik Andersen andersen at codepoet.org
Thu Jun 5 19:37:18 UTC 2003


On Thu Jun 05, 2003 at 03:30:49PM -0400, Lars Kellogg-Stedman wrote:
> This same problem actually appears in the Debian version of ifupdown (at
> least in 0.6.4)...which leads me to wonder if (a) I've just grossly
> misinterpreted something, or (b) nobody is actually using the mapping code.

I think (b) is most likely correct.  :-)  I've never used it,
and when I last worked on ifupdown and made it behave itself,
I did not give the mapping option any attention since I had
never used it before.

> In any case, my patch has run_mapping() return a string -- either the 
> value of 'logical', or a malloc()'d string to hold the return value of the 
> mapping script.
> 

I think your patch seems reasonable.  Applied.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the busybox mailing list