summaryrefslogtreecommitdiff
path: root/includes/site.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2014-05-08 10:58:45 -0700
committerShawn Routhier <sar@isc.org>2014-05-08 10:58:45 -0700
commit9279a3d722b3849b59a4bab17a2cec3b86e73fdc (patch)
treeb8466676434a645ec1890f34d1be99ed8d974996 /includes/site.h
parent66e40c5dd9a5a964661b2ebeb287658150c8b0d1 (diff)
downloadisc-dhcp-9279a3d722b3849b59a4bab17a2cec3b86e73fdc.tar.gz
[master] Add #define for length of prefix we send to v6 client script
Diffstat (limited to 'includes/site.h')
-rw-r--r--includes/site.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/includes/site.h b/includes/site.h
index 34aba0c0..6ba5a8a7 100644
--- a/includes/site.h
+++ b/includes/site.h
@@ -284,7 +284,17 @@
entail updating all the records at once, probably at start
up. */
#define DDNS_UPDATE_SLOW_TRANSITION
-
+
+/* Define the default prefix length passed from the client to
+ the script when modifying an IPv6 IA_NA or IA_TA address.
+ The two most useful values are 128 which is what the current
+ specifications call for or 64 which is what has been used in
+ the past. For most OSes 128 will indicate that the address
+ is a host address and doesn't include any on-link information.
+ 64 indicates that the first 64 bits are the subnet or on-link
+ prefix. */
+#define DHCLIENT_DEFAULT_PREFIX_LEN 64
+
/* 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