3c84c20d912ce3910443673a98db95107df8747e
[openwrt.git] / package / utils / busybox / patches / 202-udhcpc_handle_comcast_ip6rd.patch
1 --- a/networking/udhcp/common.c
2 +++ b/networking/udhcp/common.c
3 @@ -64,6 +64,7 @@ const struct dhcp_optflag dhcp_optflags[
4  #endif
5         { OPTION_STRING                           , 0xd1 }, /* DHCP_PXE_CONF_FILE */
6         { OPTION_6RD                              , 0xd4 }, /* DHCP_6RD           */
7 +       { OPTION_6RD                              , 0x96 }, /* DHCP_6RD (Comcast) */
8         { OPTION_STATIC_ROUTES | OPTION_LIST      , 0xf9 }, /* DHCP_MS_STATIC_ROUTES */
9         { OPTION_STRING                           , 0xfc }, /* DHCP_WPAD          */
10  
11 @@ -131,6 +132,7 @@ const char dhcp_option_strings[] ALIGN1 
12  #endif
13         "pxeconffile" "\0" /* DHCP_PXE_CONF_FILE  */
14         "ip6rd" "\0"       /* DHCP_6RD            */
15 +       "ip6rd" "\0"       /* DHCP_6RD (Comcast)  */
16         "msstaticroutes""\0"/* DHCP_MS_STATIC_ROUTES */
17         "wpad" "\0"        /* DHCP_WPAD           */
18         ;