lease file and the DUID will be written out to the main lease file.
[ISC-Bugs #34886]
+- Have the client fsync the lease file to avoid lease corruption if the
+ client hibernates or otherwise shuts down.
+ [ISC-Bugs #35894]
+
Changes since 4.3.0rc1
- None
/* Write out the new lease if it has been long enough. */
if (!client->last_write ||
(cur_time - client->last_write) >= MIN_LEASE_WRITE)
- write_client_lease(client, client->new, 0, 0);
+ write_client_lease(client, client->new, 0, 1);
/* Replace the old active lease with the new one. */
if (client->active)