2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Copy the offered expiry time when updating a lease

This commit is contained in:
Ted Lemon
1996-02-26 09:30:23 +00:00
parent 8703d839b8
commit 1b83016762
2 changed files with 2 additions and 0 deletions

View File

@@ -305,6 +305,7 @@ void supersede_lease (comp, lease)
/* Copy the data files, but not the linkages. */ /* Copy the data files, but not the linkages. */
comp -> starts = lease -> starts; comp -> starts = lease -> starts;
comp -> offered_expiry = lease -> offered_expiry;
comp -> timestamp = lease -> timestamp; comp -> timestamp = lease -> timestamp;
comp -> uid = lease -> uid; comp -> uid = lease -> uid;
comp -> uid_len = lease -> uid_len; comp -> uid_len = lease -> uid_len;

View File

@@ -305,6 +305,7 @@ void supersede_lease (comp, lease)
/* Copy the data files, but not the linkages. */ /* Copy the data files, but not the linkages. */
comp -> starts = lease -> starts; comp -> starts = lease -> starts;
comp -> offered_expiry = lease -> offered_expiry;
comp -> timestamp = lease -> timestamp; comp -> timestamp = lease -> timestamp;
comp -> uid = lease -> uid; comp -> uid = lease -> uid;
comp -> uid_len = lease -> uid_len; comp -> uid_len = lease -> uid_len;