summaryrefslogtreecommitdiff
path: root/includes/site.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-11-02 16:37:03 -0700
committerShawn Routhier <sar@isc.org>2012-11-02 16:37:03 -0700
commitd56788df77ad347ffb0dc459bcfd5e13567abbaa (patch)
treea959565e4b70499969fd0276d5eeb05dd269dc10 /includes/site.h
parent962d5eab9b1cf99cb850238c4eda362bc7eafb94 (diff)
downloadisc-dhcp-d56788df77ad347ffb0dc459bcfd5e13567abbaa.tar.gz
[master]
Modify the nak_lease function to make some attempts to find a server-identifier option to use for the NAK.
Diffstat (limited to 'includes/site.h')
-rw-r--r--includes/site.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/site.h b/includes/site.h
index 89c77a9e..f424129d 100644
--- a/includes/site.h
+++ b/includes/site.h
@@ -237,3 +237,14 @@
require the original functionality. */
/* #define RFC3315_PRE_ERRATA_2010_08 */
+
+/* In previous versions of the code when the server generates a NAK
+ it doesn't attempt to determine if the configuration included a
+ server ID for that client. Defining this option causes the server
+ to make a modest effort to determine the server id when building
+ a NAK as a response. This effort will only check the first subnet
+ and pool associated with a shared subnet and will not check for
+ host declarations. With some configurations the server id
+ computed for a NAK may not match that computed for an ACK. */
+
+#define SERVER_ID_FOR_NAK