diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-20 02:03:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-20 02:03:30 +0200 |
commit | d3c5ab703bf6f42ec11fb770b86aaf927cf6b32d (patch) | |
tree | 528c8d14ed55d375ed3d43af6e5042e62b7bf124 /networking | |
parent | 1cbdc03411f286f4f4f27cfd3b28c56d364e4ae3 (diff) | |
download | busybox-w32-d3c5ab703bf6f42ec11fb770b86aaf927cf6b32d.tar.gz busybox-w32-d3c5ab703bf6f42ec11fb770b86aaf927cf6b32d.tar.bz2 busybox-w32-d3c5ab703bf6f42ec11fb770b86aaf927cf6b32d.zip |
udhcpc: remove now-unneeded definitions of vendor and client-id opts
function old new delta
dhcp_optflags 68 64 -4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/udhcp/common.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index e34f926bb..311f79e7e 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c | |||
@@ -68,9 +68,10 @@ const struct dhcp_optflag dhcp_optflags[] = { | |||
68 | { OPTION_IP , 0x32 }, /* DHCP_REQUESTED_IP */ | 68 | { OPTION_IP , 0x32 }, /* DHCP_REQUESTED_IP */ |
69 | { OPTION_U8 , 0x35 }, /* DHCP_MESSAGE_TYPE */ | 69 | { OPTION_U8 , 0x35 }, /* DHCP_MESSAGE_TYPE */ |
70 | { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */ | 70 | { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */ |
71 | { OPTION_STRING , 0x3c }, /* DHCP_VENDOR */ | 71 | //looks like these opts will work just fine even without these defs: |
72 | /* not really a string */ | 72 | // { OPTION_STRING , 0x3c }, /* DHCP_VENDOR */ |
73 | { OPTION_STRING , 0x3d }, /* DHCP_CLIENT_ID */ | 73 | // /* not really a string: */ |
74 | // { OPTION_STRING , 0x3d }, /* DHCP_CLIENT_ID */ | ||
74 | { 0, 0 } /* zeroed terminating entry */ | 75 | { 0, 0 } /* zeroed terminating entry */ |
75 | }; | 76 | }; |
76 | 77 | ||