aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r--networking/udhcp/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index b6e77e3e5..6bf99e2b9 100644
--- a/networking/udhcp/options.c
+++ b/networking/udhcp/options.c
@@ -43,7 +43,7 @@ const struct dhcp_option dhcp_options[] = {
43 { OPTION_STRING , 0x42 }, /* tftp */ 43 { OPTION_STRING , 0x42 }, /* tftp */
44 { OPTION_STRING , 0x43 }, /* bootfile */ 44 { OPTION_STRING , 0x43 }, /* bootfile */
45 { OPTION_STRING , 0x4D }, /* userclass */ 45 { OPTION_STRING , 0x4D }, /* userclass */
46#if ENABLE_FEATURE_RFC3397 46#if ENABLE_FEATURE_UDHCP_RFC3397
47 { OPTION_STR1035 | OPTION_LIST , 0x77 }, /* search */ 47 { OPTION_STR1035 | OPTION_LIST , 0x77 }, /* search */
48#endif 48#endif
49 /* MSIE's "Web Proxy Autodiscovery Protocol" support */ 49 /* MSIE's "Web Proxy Autodiscovery Protocol" support */
@@ -92,7 +92,7 @@ const char dhcp_option_strings[] ALIGN1 =
92 "tftp" "\0" 92 "tftp" "\0"
93 "bootfile" "\0" 93 "bootfile" "\0"
94 "userclass" "\0" 94 "userclass" "\0"
95#if ENABLE_FEATURE_RFC3397 95#if ENABLE_FEATURE_UDHCP_RFC3397
96 "search" "\0" 96 "search" "\0"
97#endif 97#endif
98 /* MSIE's "Web Proxy Autodiscovery Protocol" support */ 98 /* MSIE's "Web Proxy Autodiscovery Protocol" support */
@@ -106,7 +106,7 @@ const uint8_t dhcp_option_lengths[] ALIGN1 = {
106 [OPTION_IP_PAIR] = 8, 106 [OPTION_IP_PAIR] = 8,
107 [OPTION_BOOLEAN] = 1, 107 [OPTION_BOOLEAN] = 1,
108 [OPTION_STRING] = 1, 108 [OPTION_STRING] = 1,
109#if ENABLE_FEATURE_RFC3397 109#if ENABLE_FEATURE_UDHCP_RFC3397
110 [OPTION_STR1035] = 1, 110 [OPTION_STR1035] = 1,
111#endif 111#endif
112 [OPTION_U8] = 1, 112 [OPTION_U8] = 1,