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