From 7895b91743702497efc179a4fe30808e49c67977 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 3 Jul 2009 16:59:59 +0200 Subject: udhcp: dname_dec may return NULL, account for that case Other random cleanips included... Signed-off-by: Denys Vlasenko --- networking/udhcp/options.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'networking/udhcp/options.h') 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!! */ -- cgit v1.1