Commit 078a630b authored by Simon Kelley's avatar Simon Kelley

Do duplicate dhcp-host address check in --test mode.

parent 43c271b0
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) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment