diff options
author | Denys Vlasenko | 2010-03-20 07:12:21 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-20 07:12:21 +0100 |
commit | 0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf (patch) | |
tree | 40a176b78edf6b6bc02cbca31d82892e1d23fe8e /networking/udhcp/options.h | |
parent | a953987e778e1a89d9371df99b243e7b57b22a07 (diff) | |
download | busybox-0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf.zip busybox-0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf.tar.gz |
udhcpd: remove five more options which do not make sense or not supported
requestip, vendorclass, clientid are client-side variables,
they do not make sense as udhcpd opts
dhcptype is the packet type (not interesting, it's always 5)
userclass needs parser support in order to work
function old new delta
dhcp_options 68 66 -2
read_opt 865 859 -6
dhcp_option_strings 253 203 -50
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-58) Total: -58 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 8f6ab0f..2d9c15f 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -41,10 +41,10 @@ enum { #define DHCP_TIME_OFFSET 0x02 #define DHCP_ROUTER 0x03 #define DHCP_TIME_SERVER 0x04 -//#define DHCP_NAME_SERVER 0x05 /* _really_ ancient */ +//#define DHCP_NAME_SERVER 0x05 /* _really_ ancient kind of NS */ #define DHCP_DNS_SERVER 0x06 #define DHCP_LOG_SERVER 0x07 -//#define DHCP_COOKIE_SERVER 0x08 /* "quote of the day" */ +//#define DHCP_COOKIE_SERVER 0x08 /* "quote of the day" server */ #define DHCP_LPR_SERVER 0x09 #define DHCP_HOST_NAME 0x0c #define DHCP_BOOT_SIZE 0x0d @@ -56,18 +56,18 @@ enum { #define DHCP_BROADCAST 0x1c #define DHCP_NTP_SERVER 0x2a #define DHCP_WINS_SERVER 0x2c -#define DHCP_REQUESTED_IP 0x32 +#define DHCP_REQUESTED_IP 0x32 /* sent by client if specific IP is wanted */ #define DHCP_LEASE_TIME 0x33 #define DHCP_OPTION_OVERLOAD 0x34 #define DHCP_MESSAGE_TYPE 0x35 -#define DHCP_SERVER_ID 0x36 +#define DHCP_SERVER_ID 0x36 /* by default server's IP */ #define DHCP_PARAM_REQ 0x37 -#define DHCP_MESSAGE 0x38 +#define DHCP_MESSAGE 0x38 /* error message when sending NAK etc */ #define DHCP_MAX_SIZE 0x39 //#define DHCP_T1 0x3a //#define DHCP_T2 0x3b -#define DHCP_VENDOR 0x3c -#define DHCP_CLIENT_ID 0x3d +#define DHCP_VENDOR 0x3c /* client's vendor */ +#define DHCP_CLIENT_ID 0x3d /* by default client's MAC addr */ #define DHCP_FQDN 0x51 #define DHCP_STATIC_ROUTES 0x79 #define DHCP_END 0xFF |