From 1e14cc0f480806f230c97d294a5934dca42acb44 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sat, 29 Dec 2012 17:27:59 +0000 Subject: [PATCH] Make it legal to have no subnet in --auth-zone, may be contructed instead. --- src/option.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/option.c b/src/option.c index 0f0f3cb..9757171 100644 --- a/src/option.c +++ b/src/option.c @@ -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;