diff options
author | Francis Dupont <fdupont@isc.org> | 2008-02-15 18:18:54 +0000 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2008-02-15 18:18:54 +0000 |
commit | 7e9f7a1bcfbccbb892778e0afd6d8fad19a632e8 (patch) | |
tree | f91a5b2ed9f9683fd02d82fc1d63b2e35e495be2 /client/dhc6.c | |
parent | 00a002fc7674ac641be18b4348f5c1e70df47519 (diff) | |
download | isc-dhcp-7e9f7a1bcfbccbb892778e0afd6d8fad19a632e8.tar.gz |
fix DUID-LTT epoch
Diffstat (limited to 'client/dhc6.c')
-rw-r--r-- | client/dhc6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dhc6.c b/client/dhc6.c index 77376e7b..37cdab61 100644 --- a/client/dhc6.c +++ b/client/dhc6.c @@ -135,7 +135,7 @@ form_duid(struct data_string *duid, const char *file, int line) /* Basic Link Local Address type of DUID. */ putUShort(duid->buffer->data, DUID_LLT); putUShort(duid->buffer->data + 2, ip->hw_address.hbuf[0]); - putULong(duid->buffer->data + 4, cur_time); + putULong(duid->buffer->data + 4, cur_time - DUID_TIME_EPOCH); memcpy(duid->buffer->data + 8, ip->hw_address.hbuf + 1, ip->hw_address.hlen - 1); } |