2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 06:25:34 +00:00

[2320] Allocation Engine for IPv4 implemented

This commit is contained in:
Tomek Mrugalski
2012-12-28 17:43:13 +01:00
parent 92e4f34d7c
commit 32e13fbffa
10 changed files with 724 additions and 46 deletions

View File

@@ -448,9 +448,10 @@ public:
time_t cltt = 0;
MySqlLeaseMgr::convertFromDatabaseTime(expire_, valid_lifetime_, cltt);
// note that T1 and T2 are not stored
return (Lease4Ptr(new Lease4(addr4_, hwaddr_buffer_, hwaddr_length_,
client_id_buffer_, client_id_length_,
valid_lifetime_, cltt, subnet_id_)));
valid_lifetime_, 0, 0, cltt, subnet_id_)));
}
/// @brief Return columns in error