diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-03 16:46:47 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-03 16:46:47 +0200 |
commit | 7945808c871f1cf659f7cbd74da18daad052fa40 (patch) | |
tree | 587fddf7cf8e8992fe19d191c21c8e9c8b52a0dd | |
parent | 6a0abcc02f0773f32f2d31b3532eec1b11e1f67d (diff) | |
download | busybox-w32-7945808c871f1cf659f7cbd74da18daad052fa40.tar.gz busybox-w32-7945808c871f1cf659f7cbd74da18daad052fa40.tar.bz2 busybox-w32-7945808c871f1cf659f7cbd74da18daad052fa40.zip |
udhcp: fix some default values from "" to NULL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/files.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 49bcafb9c..6840f3c25 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c | |||
@@ -80,9 +80,9 @@ static const struct config_keyword keywords[] = { | |||
80 | /* keywords with no defaults must be last! */ | 80 | /* keywords with no defaults must be last! */ |
81 | {"option" , udhcp_str2optset, &server_config.options , ""}, | 81 | {"option" , udhcp_str2optset, &server_config.options , ""}, |
82 | {"opt" , udhcp_str2optset, &server_config.options , ""}, | 82 | {"opt" , udhcp_str2optset, &server_config.options , ""}, |
83 | {"notify_file" , read_str , &server_config.notify_file , ""}, | 83 | {"notify_file" , read_str , &server_config.notify_file , NULL}, |
84 | {"sname" , read_str , &server_config.sname , ""}, | 84 | {"sname" , read_str , &server_config.sname , NULL}, |
85 | {"boot_file" , read_str , &server_config.boot_file , ""}, | 85 | {"boot_file" , read_str , &server_config.boot_file , NULL}, |
86 | {"static_lease" , read_staticlease, &server_config.static_leases, ""}, | 86 | {"static_lease" , read_staticlease, &server_config.static_leases, ""}, |
87 | }; | 87 | }; |
88 | enum { KWS_WITH_DEFAULTS = ARRAY_SIZE(keywords) - 6 }; | 88 | enum { KWS_WITH_DEFAULTS = ARRAY_SIZE(keywords) - 6 }; |