BIND 10 trac2324, updated. 6a8228eb8556681c30c7163010f7fb354a9ef66c [2324] Corrected some minor typos.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Oct 26 11:57:52 UTC 2012


The branch, trac2324 has been updated
       via  6a8228eb8556681c30c7163010f7fb354a9ef66c (commit)
      from  cb330a06847987bfacacc7a9333b70666750b66d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6a8228eb8556681c30c7163010f7fb354a9ef66c
Author: Marcin Siodelski <marcin at isc.org>
Date:   Fri Oct 26 13:57:42 2012 +0200

    [2324] Corrected some minor typos.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/alloc_engine.cc |    6 +++---
 src/lib/dhcp/alloc_engine.h  |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/alloc_engine.cc b/src/lib/dhcp/alloc_engine.cc
index 0ae823d..1ab677f 100644
--- a/src/lib/dhcp/alloc_engine.cc
+++ b/src/lib/dhcp/alloc_engine.cc
@@ -40,7 +40,7 @@ AllocEngine::IterativeAllocator::increaseAddress(const isc::asiolink::IOAddress&
         len = 16;
     }
 
-    for (int i = len -1; i >=0; --i) {
+    for (int i = len - 1; i >= 0; --i) {
         packed[i]++;
         if (packed[i] != 0) {
             break;
@@ -56,7 +56,7 @@ AllocEngine::IterativeAllocator::pickAddress(const Subnet6Ptr& subnet,
                                              const DuidPtr&,
                                              const IOAddress&) {
 
-    // Let's get the last allocated address. It is usually be set correctly,
+    // Let's get the last allocated address. It is usually set correctly,
     // but there are times when it won't be (like after removing a pool or
     // perhaps restaring the server).
     IOAddress last = subnet->getLastAllocated();
@@ -92,7 +92,7 @@ AllocEngine::IterativeAllocator::pickAddress(const Subnet6Ptr& subnet,
 
     IOAddress next = increaseAddress(last); // basically addr++
     if ((*it)->inRange(next)) {
-        // the next one it in pool as well, so we haven't hit pool boundary yet
+        // the next one is in the pool as well, so we haven't hit pool boundary yet
         subnet->setLastAllocated(next);
         return (next);
     }
diff --git a/src/lib/dhcp/alloc_engine.h b/src/lib/dhcp/alloc_engine.h
index f4388ab..5df70cb 100644
--- a/src/lib/dhcp/alloc_engine.h
+++ b/src/lib/dhcp/alloc_engine.h
@@ -171,7 +171,7 @@ protected:
     ///
     /// @param engine_type selects allocation algorithm
     /// @param attempts number of attempts for each lease allocation before
-    ///        we give up (0 mean unlimited)
+    ///        we give up (0 means unlimited)
     AllocEngine(AllocType engine_type, unsigned int attempts);
 
     /// @brief Allocates an IPv6 lease



More information about the bind10-changes mailing list