]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1040] reverted some changes
authorRazvan Becheriu <razvan@isc.org>
Fri, 17 Jan 2020 13:11:26 +0000 (15:11 +0200)
committerRazvan Becheriu <razvan@isc.org>
Fri, 17 Jan 2020 13:11:26 +0000 (15:11 +0200)
src/lib/dhcpsrv/cql_lease_mgr.cc

index 24acdf6809b5d67698c83862ba61fb84c5f036a2..1ac260b26c64377bb872c701f32cae4483b1346b 100644 (file)
@@ -835,7 +835,8 @@ CqlLease4Exchange::getExpiredLeases(const size_t &max_leases,
 
         // Retrieve leases from the database.
         Lease4Collection temp_collection;
-        getLeaseCollection(CqlLease4Exchange::GET_LEASE4_EXPIRE, data, temp_collection);
+        getLeaseCollection(CqlLease4Exchange::GET_LEASE4_EXPIRE, data,
+                           temp_collection);
 
         for (Lease4Ptr &lease : temp_collection) {
             expired_leases.push_back(lease);
@@ -1672,7 +1673,8 @@ CqlLease6Exchange::getExpiredLeases(const size_t &max_leases,
 
         // Retrieve leases from the database.
         Lease6Collection temp_collection;
-        getLeaseCollection(CqlLease6Exchange::GET_LEASE6_EXPIRE, data, temp_collection);
+        getLeaseCollection(CqlLease6Exchange::GET_LEASE6_EXPIRE, data,
+                           temp_collection);
 
         for (Lease6Ptr &lease : temp_collection) {
             expired_leases.push_back(lease);