aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-23 12:57:49 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-23 12:57:49 +0000
commitc90c3f30a899b5f0aae58e54839109aa9b3eaee6 (patch)
tree190c1a90f38aa4ddbfdddf52ea89978d42536606 /networking/udhcp/options.h
parent48237b0c88343154d58854020c3a9c8b07c61b10 (diff)
downloadbusybox-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 1b179f173..588504e5d 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);