aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r--networking/udhcp/common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index 0a60261ab..70e34614c 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -55,6 +55,10 @@ const struct dhcp_optflag dhcp_optflags[] = {
55 { OPTION_SIP_SERVERS , 0x78 }, /* DHCP_SIP_SERVERS */ 55 { OPTION_SIP_SERVERS , 0x78 }, /* DHCP_SIP_SERVERS */
56#endif 56#endif
57 { OPTION_STATIC_ROUTES , 0x79 }, /* DHCP_STATIC_ROUTES */ 57 { OPTION_STATIC_ROUTES , 0x79 }, /* DHCP_STATIC_ROUTES */
58#if ENABLE_FEATURE_UDHCP_8021Q
59 { OPTION_U16 , 0x84 }, /* DHCP_VLAN_ID */
60 { OPTION_U8 , 0x85 }, /* DHCP_VLAN_PRIORITY */
61#endif
58 { OPTION_STATIC_ROUTES , 0xf9 }, /* DHCP_MS_STATIC_ROUTES */ 62 { OPTION_STATIC_ROUTES , 0xf9 }, /* DHCP_MS_STATIC_ROUTES */
59 { OPTION_STRING , 0xfc }, /* DHCP_WPAD */ 63 { OPTION_STRING , 0xfc }, /* DHCP_WPAD */
60 64
@@ -118,6 +122,10 @@ const char dhcp_option_strings[] ALIGN1 =
118// doesn't work in udhcpd.conf since OPTION_STATIC_ROUTES 122// doesn't work in udhcpd.conf since OPTION_STATIC_ROUTES
119// is not handled yet by "string->option" conversion code: 123// is not handled yet by "string->option" conversion code:
120 "staticroutes" "\0"/* DHCP_STATIC_ROUTES */ 124 "staticroutes" "\0"/* DHCP_STATIC_ROUTES */
125#if ENABLE_FEATURE_UDHCP_8021Q
126 "vlanid" "\0" /* DHCP_VLAN_ID */
127 "vlanpriority" "\0"/* DHCP_VLAN_PRIORITY */
128#endif
121 "msstaticroutes""\0"/* DHCP_MS_STATIC_ROUTES */ 129 "msstaticroutes""\0"/* DHCP_MS_STATIC_ROUTES */
122 "wpad" "\0" /* DHCP_WPAD */ 130 "wpad" "\0" /* DHCP_WPAD */
123 ; 131 ;