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/script.c | |
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/script.c')
-rw-r--r-- | networking/udhcp/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index dc658ad..321b015 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -177,7 +177,7 @@ static NOINLINE char *xmalloc_optname_optval(uint8_t *option, const struct dhcp_ } -/* put all the parameters into an environment */ +/* put all the parameters into the environment */ static char **fill_envp(struct dhcp_packet *packet) { int num_options = 0; |