Commit d9ee9c08 authored by Simon Kelley's avatar Simon Kelley

Better error check on options parsing.

parent 0b0a73c1
......@@ -2418,6 +2418,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
}
}
#endif
else
ret_err(_("bad dhcp-range"));
if (leasepos < k)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment