2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

fix DUID-LTT epoch

This commit is contained in:
Francis Dupont
2008-02-15 18:18:54 +00:00
parent 00a002fc76
commit 7e9f7a1bcf
4 changed files with 11 additions and 8 deletions

View File

@@ -112,13 +112,6 @@ static isc_result_t reply_process_send_addr(struct reply_state *reply,
struct iaddr *addr);
static struct iaaddr *lease_compare(struct iaaddr *alpha, struct iaaddr *beta);
/*
* 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
/*
* This function returns the time since DUID time start for the
* given time_t value.