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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user