diff options
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 4bf73a17e..c98aec48f 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h | |||
@@ -98,13 +98,13 @@ enum { | |||
98 | #define OPT_DATA 2 | 98 | #define OPT_DATA 2 |
99 | 99 | ||
100 | struct dhcp_option { | 100 | struct dhcp_option { |
101 | char opt_name[12]; | 101 | uint8_t flags; |
102 | char flags; | ||
103 | uint8_t code; | 102 | uint8_t code; |
104 | }; | 103 | }; |
105 | 104 | ||
106 | extern const struct dhcp_option dhcp_options[]; | 105 | extern const struct dhcp_option dhcp_options[]; |
107 | extern const unsigned char option_lengths[]; | 106 | extern const char dhcp_option_strings[]; |
107 | extern const uint8_t dhcp_option_lengths[]; | ||
108 | 108 | ||
109 | uint8_t *get_option(struct dhcpMessage *packet, int code); | 109 | uint8_t *get_option(struct dhcpMessage *packet, int code); |
110 | int end_option(uint8_t *optionptr); | 110 | int end_option(uint8_t *optionptr); |