Hi,
networking/udhcp/files.c has a nasty little mixup in read_opt.
index_in_strings is called with the parameters swapped. So parsing of
"opt" and "option" is broken. This patch fixes it.
Nico
--- busybox-1.9.1/networking/udhcp/files.c.org 2008-03-03
19:11:11.000000000 +0100
+++ busybox-1.9.1/networking/udhcp/files.c 2008-03-03
19:12:17.000000000 +0100
@@ -167,7 +167,7 @@
if (!opt)
return 0;
- idx = index_in_strings(opt, dhcp_option_strings); /* NB: was
strcasecmp! */
+ idx = index_in_strings(dhcp_option_strings, opt); /* NB: was
strcasecmp! */
if (idx < 0)
return 0;
option = &dhcp_options[idx];
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox