Make --address=/example.com/ equivalent to --server=/example.com/

This commit is contained in:
Simon Kelley
2015-03-19 22:50:22 +00:00
parent ff841ebf5a
commit 979fe86bc8
3 changed files with 7 additions and 6 deletions

View File

@@ -2284,8 +2284,6 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
{
if (!(newlist->flags & SERV_NO_REBIND))
newlist->flags |= SERV_NO_ADDR; /* no server */
if (newlist->flags & SERV_LITERAL_ADDRESS)
ret_err(gen_err);
}
else if (strcmp(arg, "#") == 0)