mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Better error check on options parsing.
This commit is contained in:
@@ -2418,6 +2418,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
else
|
||||||
|
ret_err(_("bad dhcp-range"));
|
||||||
|
|
||||||
if (leasepos < k)
|
if (leasepos < k)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user