diff options
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r-- | networking/udhcp/files.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index fe6bff4ba..264a98899 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c | |||
@@ -321,9 +321,7 @@ void read_config(const char *file) | |||
321 | if (!parser) | 321 | if (!parser) |
322 | return; | 322 | return; |
323 | 323 | ||
324 | while (config_read(parser, token, 2, 0, "# \t", PARSE_LAST_IS_GREEDY)) { | 324 | while (config_read(parser, token, 2, 2, "# \t", PARSE_LAST_IS_GREEDY)) { |
325 | if (!token[1]) | ||
326 | continue; | ||
327 | for (k = keywords, i = 0; i < ARRAY_SIZE(keywords); k++, i++) { | 325 | for (k = keywords, i = 0; i < ARRAY_SIZE(keywords); k++, i++) { |
328 | if (!strcasecmp(token[0], k->keyword)) { | 326 | if (!strcasecmp(token[0], k->keyword)) { |
329 | if (!k->handler(token[1], k->var)) { | 327 | if (!k->handler(token[1], k->var)) { |