Make it legal to have no subnet in --auth-zone, may be contructed instead.

This commit is contained in:
Simon Kelley
2012-12-29 17:27:59 +00:00
parent 55b548ae2b
commit 1e14cc0f48

View File

@@ -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);