summaryrefslogtreecommitdiff
path: root/includes/site.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2016-01-06 16:32:25 -0800
committerShawn Routhier <sar@isc.org>2016-01-06 16:32:25 -0800
commitb2cb745bd46816bc7a70e22592163d2bd52b97b0 (patch)
tree2b64af858a81c8dda5a947ed11eed3b428223d1f /includes/site.h
parent4ce21cb6301d665de01c1a6209e40f5f35072c0c (diff)
downloadisc-dhcp-b2cb745bd46816bc7a70e22592163d2bd52b97b0.tar.gz
[master] Emit better error messages for command line issues
When emitting an error message due to a bad command line try to include information about the argument that is at fault.
Diffstat (limited to 'includes/site.h')
-rw-r--r--includes/site.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/site.h b/includes/site.h
index 7c6d8431..a36e322c 100644
--- a/includes/site.h
+++ b/includes/site.h
@@ -305,6 +305,13 @@
from a single server and there won't be a difference. */
/* #define USE_ORIGINAL_CLIENT_LEASE_WEIGHTS */
+/* Print out specific error messages for dhclient, dhcpd
+ or dhcrelay when processing an incorrect command line. This
+ is included for those that might require the exact error
+ messages, as we don't expect that is necessary it is on by
+ default. */
+#define PRINT_SPECIFIC_CL_ERRORS
+
/* Include definitions for various options. In general these
should be left as is, but if you have already defined one
of these and prefer your definition you can comment the