aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/d6_dhcpc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index f837bd549..85068721a 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -83,6 +83,8 @@ static const struct dhcp_optflag d6_optflags[] = {
83 { OPTION_STRING, D6_OPT_BOOT_URL }, 83 { OPTION_STRING, D6_OPT_BOOT_URL },
84 { OPTION_STRING, D6_OPT_BOOT_PARAM }, 84 { OPTION_STRING, D6_OPT_BOOT_PARAM },
85#endif 85#endif
86 { OPTION_STRING, 0xd1 }, /* DHCP_PXE_CONF_FILE */
87 { OPTION_STRING, 0xd2 }, /* DHCP_PXE_PATH_PREFIX */
86 { 0, 0 } 88 { 0, 0 }
87}; 89};
88/* Must match d6_optflags[] order */ 90/* Must match d6_optflags[] order */
@@ -102,7 +104,8 @@ static const char d6_option_strings[] ALIGN1 =
102 "bootfile_url" "\0" /* D6_OPT_BOOT_URL */ 104 "bootfile_url" "\0" /* D6_OPT_BOOT_URL */
103 "bootfile_param" "\0" /* D6_OPT_BOOT_PARAM */ 105 "bootfile_param" "\0" /* D6_OPT_BOOT_PARAM */
104#endif 106#endif
105 107 "pxeconffile" "\0" /* DHCP_PXE_CONF_FILE */
108 "pxepathprefix" "\0" /* DHCP_PXE_PATH_PREFIX */
106 "\0"; 109 "\0";
107 110
108#if ENABLE_LONG_OPTS 111#if ENABLE_LONG_OPTS
@@ -401,6 +404,8 @@ static void option_to_env(uint8_t *option, uint8_t *option_end)
401#endif 404#endif
402 case D6_OPT_BOOT_URL: 405 case D6_OPT_BOOT_URL:
403 case D6_OPT_BOOT_PARAM: 406 case D6_OPT_BOOT_PARAM:
407 case 0xd1: /* DHCP_PXE_CONF_FILE */
408 case 0xd2: /* DHCP_PXE_PATH_PREFIX */
404 { 409 {
405 char *tmp = string_option_to_env(option, option_end); 410 char *tmp = string_option_to_env(option, option_end);
406 if (tmp) 411 if (tmp)