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

This commit is contained in:
Simon Kelley committed 2012-06-07 13:56:23 +01:00
1 parent 43c271b07c
commit 078a630bba
2 files changed
+7

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
version 2.63
Do duplicate dhcp-host address check in --test mode.
version 2.62
Update German translation. Thanks to Conrad Kostecki.
+3
View File
@@ -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);
}