2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#890] addressed review

This commit is contained in:
Razvan Becheriu
2020-01-29 16:09:41 +02:00
parent 088709fada
commit 223d543a97

View File

@@ -99,6 +99,7 @@ protected:
const DuidPtr& duid,
const isc::asiolink::IOAddress& hint) {
if (isc::util::MultiThreadingMgr::instance().getMode()) {
std::lock_guard<std::mutex> lock(mutex_);
return pickAddressInternal(subnet, client_classes, duid, hint);
} else {
return pickAddressInternal(subnet, client_classes, duid, hint);