summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2016-01-06 17:27:31 -0800
committerShawn Routhier <sar@isc.org>2016-01-06 17:27:31 -0800
commit142ea1be261eee2ec41faf8b62c675896b9f65bc (patch)
treea3b359c6370f12d6dc80a055c9f6a9dd23f21079 /includes
parent8b5df17a1418521aa34dc8b3b71e73f89f4a57f2 (diff)
downloadisc-dhcp-142ea1be261eee2ec41faf8b62c675896b9f65bc.tar.gz
[v4_1_esv] 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')
-rw-r--r--includes/site.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/site.h b/includes/site.h
index 829657c9..009c7bad 100644
--- a/includes/site.h
+++ b/includes/site.h
@@ -294,4 +294,9 @@
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