Fix code parsing --domain, broken whilst added IPv6 stuff.

This commit is contained in:
Simon Kelley
2012-02-13 10:13:13 +00:00
parent 127ea40ae7
commit 2307eac613

View File

@@ -1787,12 +1787,11 @@ static char *one_opt(int option, char *arg, char *gen_prob, int command_line)
#endif #endif
else else
option = '?'; option = '?';
}
new->domain = d; new->domain = d;
new->next = daemon->cond_domain; new->next = daemon->cond_domain;
daemon->cond_domain = new; daemon->cond_domain = new;
}
} }
else else
daemon->domain_suffix = d; daemon->domain_suffix = d;