mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Copy the offered expiry time when updating a lease
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user