Fix the disease, not the symptom in e40d8bef3b

This commit is contained in:
Simon Kelley
2020-01-26 18:13:35 +00:00
parent e40d8bef3b
commit d9603ef781
2 changed files with 2 additions and 2 deletions

View File

@@ -2583,7 +2583,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
serv = newlist;
while (serv->next)
{
serv->next->flags = serv->flags;
serv->next->flags |= serv->flags & ~(SERV_HAS_DOMAIN | SERV_FOR_NODOTS);
serv->next->addr = serv->addr;
serv->next->source_addr = serv->source_addr;
strcpy(serv->next->interface, serv->interface);