mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Do duplicate dhcp-host address check in --test mode.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
version 2.63
|
||||||
|
Do duplicate dhcp-host address check in --test mode.
|
||||||
|
|
||||||
|
|
||||||
version 2.62
|
version 2.62
|
||||||
Update German translation. Thanks to Conrad Kostecki.
|
Update German translation. Thanks to Conrad Kostecki.
|
||||||
|
|
||||||
|
|||||||
@@ -3762,6 +3762,9 @@ void read_opts(int argc, char **argv, char *compile_opts)
|
|||||||
|
|
||||||
if (testmode)
|
if (testmode)
|
||||||
{
|
{
|
||||||
|
/* Can cause a call to die() */
|
||||||
|
check_dhcp_hosts(1);
|
||||||
|
|
||||||
fprintf(stderr, "dnsmasq: %s.\n", _("syntax check OK"));
|
fprintf(stderr, "dnsmasq: %s.\n", _("syntax check OK"));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user