29313ae79da445f1cd6c5c852610349328fdbb7b
[openwrt-10.03/.git] / package / busybox / patches / 244-udhcpc_cidrroute.patch
1 --- a/networking/udhcp/options.c
2 +++ b/networking/udhcp/options.c
3 @@ -48,6 +48,7 @@ const struct dhcp_option dhcp_options[] 
4  #if ENABLE_FEATURE_UDHCP_RFC3397
5         { OPTION_STR1035 | OPTION_LIST            , 0x77 }, /* search             */
6  #endif
7 +       { OPTION_U8 | OPTION_LIST |     OPTION_REQ, 0x79 }, /* cidr_static_routes */
8         /* MSIE's "Web Proxy Autodiscovery Protocol" support */
9         { OPTION_STRING                           , 0xfc }, /* wpad               */
10  
11 @@ -97,6 +98,7 @@ const char dhcp_option_strings[] ALIGN1 
12  #if ENABLE_FEATURE_UDHCP_RFC3397
13         "search" "\0"
14  #endif
15 +       "cidrroute" "\0"   /* cidr_static_routes */
16         /* MSIE's "Web Proxy Autodiscovery Protocol" support */
17         "wpad" "\0"
18         ;