Commit 1e14cc0f authored by Simon Kelley's avatar Simon Kelley

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

parent 55b548ae
...@@ -1587,9 +1587,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma ...@@ -1587,9 +1587,7 @@ 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);
new->subnet = NULL; new->subnet = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment