From 19ce1db91045a46ed66fbaf90496a4299ab4dbae Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Mon, 4 Nov 2019 20:47:46 +0100 Subject: [PATCH] [894-make-memfile-thread-safe] Untabified --- src/lib/dhcpsrv/memfile_lease_mgr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.cc b/src/lib/dhcpsrv/memfile_lease_mgr.cc index fe68bc2fba..fbc8622b77 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.cc +++ b/src/lib/dhcpsrv/memfile_lease_mgr.cc @@ -658,7 +658,7 @@ Memfile_LeaseMgr::Memfile_LeaseMgr(const DatabaseConnection::ParameterMap& param // doing testing, but it should not be done in normal server // operation. if (!persistLeases(V4) && !persistLeases(V6)) { - LOG_WARN(dhcpsrv_logger, DHCPSRV_MEMFILE_NO_STORAGE); + LOG_WARN(dhcpsrv_logger, DHCPSRV_MEMFILE_NO_STORAGE); } else { if (conversion_needed) { LOG_WARN(dhcpsrv_logger, DHCPSRV_MEMFILE_CONVERTING_LEASE_FILES) @@ -971,7 +971,7 @@ Memfile_LeaseMgr::getLeases4(SubnetID subnet_id) const { void Memfile_LeaseMgr::getLeases4Internal(const std::string& hostname, - Lease4Collection& collection) const { + Lease4Collection& collection) const { const Lease4StorageHostnameIndex& idx = storage4_.get(); std::pair l = @@ -1202,7 +1202,7 @@ Memfile_LeaseMgr::getLeases6(SubnetID subnet_id) const { void Memfile_LeaseMgr::getLeases6Internal(const std::string& hostname, - Lease6Collection& collection) const { + Lease6Collection& collection) const { const Lease6StorageHostnameIndex& idx = storage6_.get(); std::pair l = -- 2.47.2