mirror of
https://github.com/sheumann/hush.git
synced 2024-08-22 02:29:00 +00:00
udhcp: fix some default values from "" to NULL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
6a0abcc02f
commit
7945808c87
@ -80,9 +80,9 @@ static const struct config_keyword keywords[] = {
|
|||||||
/* keywords with no defaults must be last! */
|
/* keywords with no defaults must be last! */
|
||||||
{"option" , udhcp_str2optset, &server_config.options , ""},
|
{"option" , udhcp_str2optset, &server_config.options , ""},
|
||||||
{"opt" , udhcp_str2optset, &server_config.options , ""},
|
{"opt" , udhcp_str2optset, &server_config.options , ""},
|
||||||
{"notify_file" , read_str , &server_config.notify_file , ""},
|
{"notify_file" , read_str , &server_config.notify_file , NULL},
|
||||||
{"sname" , read_str , &server_config.sname , ""},
|
{"sname" , read_str , &server_config.sname , NULL},
|
||||||
{"boot_file" , read_str , &server_config.boot_file , ""},
|
{"boot_file" , read_str , &server_config.boot_file , NULL},
|
||||||
{"static_lease" , read_staticlease, &server_config.static_leases, ""},
|
{"static_lease" , read_staticlease, &server_config.static_leases, ""},
|
||||||
};
|
};
|
||||||
enum { KWS_WITH_DEFAULTS = ARRAY_SIZE(keywords) - 6 };
|
enum { KWS_WITH_DEFAULTS = ARRAY_SIZE(keywords) - 6 };
|
||||||
|
Loading…
Reference in New Issue
Block a user