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

[#1550] addressed comments

This commit is contained in:
Razvan Becheriu
2020-11-19 15:29:38 +02:00
parent 6ce3a31071
commit bbb2de80ed

View File

@@ -3049,7 +3049,7 @@ hasAddressReservation(AllocEngine::ClientContext4& ctx) {
auto host = ctx.hosts_.find(SUBNET_ID_GLOBAL); auto host = ctx.hosts_.find(SUBNET_ID_GLOBAL);
// if we want global + other modes we would need to // if we want global + other modes we would need to
// return only if true, else continue // return only if true, else continue
if (host != ctx.hosts_.end() && host->second && if (host != ctx.hosts_.end() &&
!host->second->getIPv4Reservation().isV4Zero()) { !host->second->getIPv4Reservation().isV4Zero()) {
return (true); return (true);
} }