mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Copy the offered expiry time when updating a lease
This commit is contained in:
parent
8703d839b8
commit
1b83016762
@ -305,6 +305,7 @@ void supersede_lease (comp, lease)
|
||||
|
||||
/* Copy the data files, but not the linkages. */
|
||||
comp -> starts = lease -> starts;
|
||||
comp -> offered_expiry = lease -> offered_expiry;
|
||||
comp -> timestamp = lease -> timestamp;
|
||||
comp -> uid = lease -> uid;
|
||||
comp -> uid_len = lease -> uid_len;
|
||||
|
1
memory.c
1
memory.c
@ -305,6 +305,7 @@ void supersede_lease (comp, lease)
|
||||
|
||||
/* Copy the data files, but not the linkages. */
|
||||
comp -> starts = lease -> starts;
|
||||
comp -> offered_expiry = lease -> offered_expiry;
|
||||
comp -> timestamp = lease -> timestamp;
|
||||
comp -> uid = lease -> uid;
|
||||
comp -> uid_len = lease -> uid_len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user