mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix breakage of --host-record parsing.
This commit is contained in:
@@ -28,6 +28,10 @@ version 2.64
|
|||||||
Add --max-cache-ttl option. Thanks to Dennis Kaarsemaker
|
Add --max-cache-ttl option. Thanks to Dennis Kaarsemaker
|
||||||
for the patch.
|
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
|
version 2.63
|
||||||
Do duplicate dhcp-host address check in --test mode.
|
Do duplicate dhcp-host address check in --test mode.
|
||||||
|
|||||||
@@ -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);
|
for (tmp = new->names; tmp->next; tmp = tmp->next);
|
||||||
tmp->next = nl;
|
tmp->next = nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
arg = comma;
|
|
||||||
comma = split(arg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
arg = comma;
|
||||||
|
comma = split(arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep list order */
|
/* Keep list order */
|
||||||
|
|||||||
Reference in New Issue
Block a user