Fix breakage of --host-record parsing.

This commit is contained in:
Simon Kelley
2012-09-27 21:52:26 +01:00
parent 35239a302a
commit e4807d8bb2
2 changed files with 7 additions and 3 deletions

View File

@@ -28,6 +28,10 @@ version 2.64
Add --max-cache-ttl option. Thanks to Dennis Kaarsemaker
for the patch.
Fix breakage of --host-record parsing, resulting in
infinte loop at startup. Regression in 2.63. Thanks to
Haim Gelfenbeyn for spotting this.
version 2.63
Do duplicate dhcp-host address check in --test mode.

View File

@@ -3164,10 +3164,10 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
for (tmp = new->names; tmp->next; tmp = tmp->next);
tmp->next = nl;
}
arg = comma;
comma = split(arg);
}
arg = comma;
comma = split(arg);
}
/* Keep list order */