mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 21:18:02 +00:00
[#1550] addressed comments
This commit is contained in:
parent
6ce3a31071
commit
bbb2de80ed
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user