2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#1550] added documentation

This commit is contained in:
Razvan Becheriu
2020-11-19 14:25:22 +02:00
parent 7b6f0c3b01
commit ea9e70eb65

View File

@@ -604,7 +604,7 @@ AllocEngine::findReservation(ClientContext6& ctx) {
ctx.hosts_[SUBNET_ID_GLOBAL] = findGlobalReservation(ctx); ctx.hosts_[SUBNET_ID_GLOBAL] = findGlobalReservation(ctx);
} }
// If we had only to fetch global reservations it is done. // If only global reservations are enabled all work is done.
if (!subnet->getReservationsInSubnet()) { if (!subnet->getReservationsInSubnet()) {
return; return;
} }
@@ -3349,7 +3349,7 @@ AllocEngine::findReservation(ClientContext4& ctx) {
ctx.hosts_[SUBNET_ID_GLOBAL] = findGlobalReservation(ctx); ctx.hosts_[SUBNET_ID_GLOBAL] = findGlobalReservation(ctx);
} }
// If we had only to fetch global reservations it is done. // If only global reservations are enabled all work is done.
if (!subnet->getReservationsInSubnet()) { if (!subnet->getReservationsInSubnet()) {
return; return;
} }