]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Make it legal to have no subnet in --auth-zone, may be contructed instead.
authorSimon Kelley <simon@thekelleys.org.uk>
Sat, 29 Dec 2012 17:27:59 +0000 (17:27 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Sat, 29 Dec 2012 17:27:59 +0000 (17:27 +0000)
src/option.c

index 0f0f3cbd5461ac9971b64f35458558b7bfa1d26f..975717196dbcb3957a6492b4b998273a6765f728 100644 (file)
@@ -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;