summaryrefslogtreecommitdiff
path: root/includes/site.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-04-10 22:13:46 +0000
committerShawn Routhier <sar@isc.org>2012-04-10 22:13:46 +0000
commitd19fa5a1b59e0ee8a6fafddd801aa402486a8641 (patch)
treeea8c370a30fb69f7911ce505de0f69ace99f0e0f /includes/site.h
parentd289ee683efb5245138d951bd9d934bcc196d550 (diff)
downloadisc-dhcp-d19fa5a1b59e0ee8a6fafddd801aa402486a8641.tar.gz
Fix the NA and PD allocation code to handle the case where a client
provides a preference and the server doesn't have any addresses or prefixes available. Previoulsy the server ignored the request with this patch it replies with a NoAddrsAvail or NoPrefixAvai respone. By default the code performs according to the errata of August 2010 for RFC 3315 section 17.2.2, to enable the previous style see the seciton on RFC3315_PRE_ERRATA_2010_08 in includes/site.h. This option may be removed in the future. Thanks to Jiri Popelka at Red Hat for the patch. [ISC-Bugs #22676]
Diffstat (limited to 'includes/site.h')
-rw-r--r--includes/site.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/site.h b/includes/site.h
index b78b5371..89c77a9e 100644
--- a/includes/site.h
+++ b/includes/site.h
@@ -227,3 +227,13 @@
future. */
#define ACCEPT_LIST_IN_DOMAIN_NAME
+
+/* In RFC3315 section 17.2.2 stated that if the server was not going
+ to be able to assign any addresses to any IAs in a subsequent Request
+ from a client that the server should not include any IAs. This
+ requirement was removed in an errata from August 2010. Define the
+ following if you want the pre-errata version.
+ You should only enable this option if you have clients that
+ require the original functionality. */
+
+/* #define RFC3315_PRE_ERRATA_2010_08 */