This adds a patch for busybox for udhcpc to request the rootpath option from
dhcp server.

Signed-off-by: Yuji Mano <[EMAIL PROTECTED]>

---
 package/busybox/patches/244-udhcpc_request_rootpath.patch |   19 ++++++++++++++
 1 file changed, 19 insertions(+)

--- /dev/null
+++ b/package/busybox/patches/244-udhcpc_request_rootpath.patch
@@ -0,0 +1,19 @@
+This patches udhcpc to request the rootpath option from dhcp server.
+
+Signed-off-by: Yuji Mano <[EMAIL PROTECTED]>
+
+---
+ networking/udhcp/options.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/networking/udhcp/options.c
++++ b/networking/udhcp/options.c
+@@ -25,7 +25,7 @@ const struct dhcp_option dhcp_options[]
+       {"bootsize",    OPTION_U16,                             0x0d},
+       {"domain",      OPTION_STRING | OPTION_LIST | OPTION_REQ, 0x0f},
+       {"swapsvr",     OPTION_IP,                              0x10},
+-      {"rootpath",    OPTION_STRING,                          0x11},
++      {"rootpath",    OPTION_STRING | OPTION_REQ,             0x11},
+       {"ipttl",       OPTION_U8,                              0x17},
+       {"mtu",         OPTION_U16,                             0x1a},
+       {"broadcast",   OPTION_IP | OPTION_REQ,                 0x1c},


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to