diff options
author | Denis Vlasenko | 2006-11-23 12:57:49 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-23 12:57:49 +0000 |
commit | c90c3f30a899b5f0aae58e54839109aa9b3eaee6 (patch) | |
tree | 190c1a90f38aa4ddbfdddf52ea89978d42536606 /networking/udhcp/options.h | |
parent | 48237b0c88343154d58854020c3a9c8b07c61b10 (diff) | |
download | busybox-c90c3f30a899b5f0aae58e54839109aa9b3eaee6.zip busybox-c90c3f30a899b5f0aae58e54839109aa9b3eaee6.tar.gz |
add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytes
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 1b179f1..588504e 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -26,8 +26,8 @@ struct dhcp_option { uint8_t code; }; -extern struct dhcp_option dhcp_options[]; -extern int option_lengths[]; +extern const struct dhcp_option dhcp_options[]; +extern const unsigned char option_lengths[]; uint8_t *get_option(struct dhcpMessage *packet, int code); int end_option(uint8_t *optionptr); |