On Sun, Jul 15, 2012 at 9:57 PM, Maris, Rob <[email protected]> wrote:
> Due to a busybox update I have changed my invocation of udhcpc for using -x
> hostname:<hostname> instead of -H <hostname>.
> However, <hostname> is not recognized.

Why do you think so?

> ps shows up: {busybox} udhcpc -x hostname -iwlan0
> (the part with :<hostname> is missing)

Because udhcp_str2optset() function uses strtok()
to parse, and that function replaces delimiters with NULs.
This messes up ps display.

Does it actually work? That is, does your client send the hostname
to the server?

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to