Skip to content

Commit

Permalink
Fix breakage of --host-record parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkelley committed Sep 27, 2012
1 parent 35239a3 commit e4807d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e4807d8

Please sign in to comment.