diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-22 07:16:46 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-22 07:16:46 +0000 |
commit | 5b339e5fb21b1a9851505bb991f9f2a44c8da95c (patch) | |
tree | 5e70f221c8c8e7afcaab68257605126507e928d7 /package/busybox | |
parent | 3bd7985a0b6ad72f643c902f78ba622d3340eb01 (diff) | |
download | upstream-5b339e5fb21b1a9851505bb991f9f2a44c8da95c.tar.gz upstream-5b339e5fb21b1a9851505bb991f9f2a44c8da95c.tar.bz2 upstream-5b339e5fb21b1a9851505bb991f9f2a44c8da95c.zip |
busybox: implement ms static routes option in udhcpc (#6435)
SVN-Revision: 24779
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/patches/245-udhcpc_add_msroutes_option.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/busybox/patches/245-udhcpc_add_msroutes_option.patch b/package/busybox/patches/245-udhcpc_add_msroutes_option.patch new file mode 100644 index 0000000000..e8514479a3 --- /dev/null +++ b/package/busybox/patches/245-udhcpc_add_msroutes_option.patch @@ -0,0 +1,22 @@ +--- a/networking/udhcp/common.c ++++ b/networking/udhcp/common.c +@@ -53,7 +53,8 @@ const struct dhcp_optflag dhcp_optflags[ + { OPTION_DNS_STRING | OPTION_LIST , 0x77 }, /* DHCP_DOMAIN_SEARCH */ + { OPTION_SIP_SERVERS , 0x78 }, /* DHCP_SIP_SERVERS */ + #endif +- { OPTION_STATIC_ROUTES , 0x79 }, /* DHCP_STATIC_ROUTES */ ++ { OPTION_STATIC_ROUTES , 0x79 }, /* DHCP_STATIC_ROUTES (RFC) */ ++ { OPTION_STATIC_ROUTES , 0xf9 }, /* DHCP_STATIC_ROUTES (Microsoft) */ + { OPTION_6RD , 0xd4 }, /* DHCP_6RD (RFC) */ + { OPTION_6RD , 0x96 }, /* DHCP_6RD (Comcast) */ + { OPTION_STRING , 0xfc }, /* DHCP_WPAD */ +@@ -115,7 +116,8 @@ const char dhcp_option_strings[] ALIGN1 + #endif + // doesn't work in udhcpd.conf since OPTION_STATIC_ROUTES + // is not handled yet by "string->option" conversion code: +- "staticroutes" "\0"/* DHCP_STATIC_ROUTES */ ++ "staticroutes" "\0" /* DHCP_STATIC_ROUTES (RFC) */ ++ "msstaticroutes" "\0"/* DHCP_STATIC_ROUTES (Microsoft) */ + "ip6rd" "\0" /* DHCP_6RD (RFC) */ + "ip6rd" "\0" /* DHCP_6RD (Comcast) */ + "wpad" "\0" /* DHCP_WPAD */ |