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