summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2008-02-15 18:18:54 +0000
committerFrancis Dupont <fdupont@isc.org>2008-02-15 18:18:54 +0000
commit7e9f7a1bcfbccbb892778e0afd6d8fad19a632e8 (patch)
treef91a5b2ed9f9683fd02d82fc1d63b2e35e495be2 /includes
parent00a002fc7674ac641be18b4348f5c1e70df47519 (diff)
downloadisc-dhcp-7e9f7a1bcfbccbb892778e0afd6d8fad19a632e8.tar.gz
fix DUID-LTT epoch
Diffstat (limited to 'includes')
-rw-r--r--includes/dhcp6.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/dhcp6.h b/includes/dhcp6.h
index 414f3898..c5ed02d9 100644
--- a/includes/dhcp6.h
+++ b/includes/dhcp6.h
@@ -195,3 +195,10 @@ struct dhcpv6_relay_packet {
#define LQ6QT_BY_ADDRESS 1
#define LQ6QT_BY_CLIENTID 2
+
+/*
+ * DUID time starts 2000-01-01.
+ * This constant is the number of seconds since 1970-01-01,
+ * when the Unix epoch began.
+ */
+#define DUID_TIME_EPOCH 946684800