2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[1040] minor changes

This commit is contained in:
Razvan Becheriu
2019-12-06 14:10:27 +02:00
parent a558acc247
commit 6c8a8ec6a7

View File

@@ -1416,10 +1416,10 @@ public:
// Create the lease and set the cltt (after converting from the // Create the lease and set the cltt (after converting from the
// expire time retrieved from the database). // expire time retrieved from the database).
Lease6Ptr result(new Lease6(type, addr, duid_ptr, iaid_, Lease6Ptr result(boost::make_shared<Lease6>(type, addr, duid_ptr, iaid_,
pref_lifetime_, valid_lifetime_, pref_lifetime_, valid_lifetime_,
subnet_id_, fqdn_fwd_, fqdn_rev_, subnet_id_, fqdn_fwd_, fqdn_rev_,
hostname, hwaddr, prefixlen_)); hostname, hwaddr, prefixlen_));
time_t cltt = 0; time_t cltt = 0;
// Recover from overflow // Recover from overflow
uint32_t valid_lft = valid_lifetime_; uint32_t valid_lft = valid_lifetime_;