aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-28 19:23:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-28 19:23:12 +0000
commit35ff74676b54b1cae5a6324d2517568393fedbc8 (patch)
treeb913eda3005954aec3543cc07d3f86baeeb6429a /networking/udhcp/options.h
parent41f5add965163607b5921aa224b9ba6fa3debc05 (diff)
downloadbusybox-35ff74676b54b1cae5a6324d2517568393fedbc8.tar.gz
dhcpc: let server know we don't like oversized packets.
add TODO comment
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 33a968ce9..4bf73a17e 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -33,6 +33,7 @@ enum {
#define DHCP_MAGIC 0x63825363
+
/* DHCP option codes (partial list) */
#define DHCP_PADDING 0x00
#define DHCP_SUBNET 0x01
@@ -67,7 +68,6 @@ enum {
#define DHCP_VENDOR 0x3c
#define DHCP_CLIENT_ID 0x3d
#define DHCP_FQDN 0x51
-
#define DHCP_END 0xFF
@@ -98,7 +98,7 @@ enum {
#define OPT_DATA 2
struct dhcp_option {
- char name[12];
+ char opt_name[12];
char flags;
uint8_t code;
};