mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-31 13:10:35 +00:00
Make it legal to have no subnet in --auth-zone, may be contructed instead.
This commit is contained in:
1 parent
55b548ae2b
commit
1e14cc0f48
1 file changed
+1
-3
+1
-3
@@ -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