]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1550] added documentation
authorRazvan Becheriu <razvan@isc.org>
Thu, 19 Nov 2020 12:25:22 +0000 (14:25 +0200)
committerRazvan Becheriu <razvan@isc.org>
Thu, 19 Nov 2020 12:25:22 +0000 (14:25 +0200)
src/lib/dhcpsrv/alloc_engine.cc

index 3e160971ed227e0363cb7bcb82abdd47dce91b2e..f231a611417d5506892524d0c0c212682c6ce8e1 100644 (file)
@@ -604,7 +604,7 @@ AllocEngine::findReservation(ClientContext6& 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()) {
         return;
     }
@@ -3349,7 +3349,7 @@ AllocEngine::findReservation(ClientContext4& 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()) {
         return;
     }