Hi Denys 2011/11/4 Denys Vlasenko <[email protected]>: >> The option "03" is DHCP_ROUTER when I looked it up in >> networking/udhcp/common.h. >> How can I enable it in udhcpc so it can apply the option "03" as >> default gateway? >> Is there any code need to be fixed or complete in dhcpc.c in busybox?
Thanks for you hint. But I am still confused. The option DHCP_ROUTER looks like has been commented out in networking/udhcp/common.h. If the option has been comment out, how could the code in dhcpc.c parse the packet and expose it to environment variables? > > Take a look at an example in busybox/examples/udhcp/simple.script > Thanks! -- Best regards, Macpaul Lin _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
