Browse Source

[5070] Adjusted comments

Francis Dupont 8 years ago
parent
commit
74f47a4afe
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/lib/dhcpsrv/alloc_engine.cc

+ 2 - 3
src/lib/dhcpsrv/alloc_engine.cc

@@ -713,7 +713,7 @@ AllocEngine::allocateUnreservedLeases6(ClientContext6& ctx) {
             } else if (ctx.callout_handle_ &&
             } else if (ctx.callout_handle_ &&
                        (ctx.callout_handle_->getStatus() !=
                        (ctx.callout_handle_->getStatus() !=
                         CalloutHandle::NEXT_STEP_CONTINUE)) {
                         CalloutHandle::NEXT_STEP_CONTINUE)) {
-                // Don't retry when the callout status is next step skip.
+                // Don't retry when the callout status is not continue.
                 break;
                 break;
             }
             }
 
 
@@ -2849,8 +2849,7 @@ AllocEngine::allocateUnreservedLease4(ClientContext4& ctx) {
             } else if (ctx.callout_handle_ &&
             } else if (ctx.callout_handle_ &&
                        (ctx.callout_handle_->getStatus() !=
                        (ctx.callout_handle_->getStatus() !=
                         CalloutHandle::NEXT_STEP_CONTINUE)) {
                         CalloutHandle::NEXT_STEP_CONTINUE)) {
-                // Don't retry when the callout status is next step skip
-                // or next step drop.
+                // Don't retry when the callout status is not continue.
                 break;
                 break;
             }
             }
         }
         }