diff options
author | Denys Vlasenko | 2009-07-03 16:59:59 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-03 16:59:59 +0200 |
commit | 7895b91743702497efc179a4fe30808e49c67977 (patch) | |
tree | 0327d8d61ba0c145c812ecdc99cfca603aeb451a /networking/udhcp/options.h | |
parent | c3b6f2c7e1f065fb7e57d2dddc238d433e016e1f (diff) | |
download | busybox-7895b91743702497efc179a4fe30808e49c67977.zip busybox-7895b91743702497efc179a4fe30808e49c67977.tar.gz |
udhcp: dname_dec may return NULL, account for that case
Other random cleanips included...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 8c80485..9e62431 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -19,11 +19,13 @@ enum { OPTION_U16, OPTION_S16, OPTION_U32, - OPTION_S32 + OPTION_S32, }; -#define OPTION_REQ 0x10 /* have the client request this option */ -#define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */ +/* Client requests this option by default */ +#define OPTION_REQ 0x10 +/* There can be a list of 1 or more of these */ +#define OPTION_LIST 0x20 /*****************************************************************/ /* Do not modify below here unless you know what you are doing!! */ |