Better error check on options parsing.

This commit is contained in:
Simon Kelley committed 2013-04-12 11:17:55 +01:00
1 parent 0b0a73c1c9
commit d9ee9c0872
1 file changed
+2
+2
View File
@@ -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)
{