mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Make it legal to have no subnet in --auth-zone, may be contructed instead.
This commit is contained in:
@@ -1587,8 +1587,6 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
|
|||||||
struct auth_zone *new;
|
struct auth_zone *new;
|
||||||
|
|
||||||
comma = split(arg);
|
comma = split(arg);
|
||||||
if (!comma)
|
|
||||||
ret_err(gen_err);
|
|
||||||
|
|
||||||
new = opt_malloc(sizeof(struct auth_zone));
|
new = opt_malloc(sizeof(struct auth_zone));
|
||||||
new->domain = opt_string_alloc(arg);
|
new->domain = opt_string_alloc(arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user