aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r--networking/udhcp/options.h6
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
100struct dhcp_option { 100struct 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
106extern const struct dhcp_option dhcp_options[]; 105extern const struct dhcp_option dhcp_options[];
107extern const unsigned char option_lengths[]; 106extern const char dhcp_option_strings[];
107extern const uint8_t dhcp_option_lengths[];
108 108
109uint8_t *get_option(struct dhcpMessage *packet, int code); 109uint8_t *get_option(struct dhcpMessage *packet, int code);
110int end_option(uint8_t *optionptr); 110int end_option(uint8_t *optionptr);