BIND 10 trac2269, updated. 028bed9014b15facf1a29d3d4a822c9d14fc6411 [2269] Typo fixed.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 11 12:30:41 UTC 2012


The branch, trac2269 has been updated
       via  028bed9014b15facf1a29d3d4a822c9d14fc6411 (commit)
      from  1517f32c9e68baacfc68c2aab412b29045d846b9 (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 028bed9014b15facf1a29d3d4a822c9d14fc6411
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Thu Oct 11 14:30:28 2012 +0200

    [2269] Typo fixed.

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

Summary of changes:
 src/bin/dhcp6/config_parser.cc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/config_parser.cc b/src/bin/dhcp6/config_parser.cc
index 9f75cd7..dbffc40 100644
--- a/src/bin/dhcp6/config_parser.cc
+++ b/src/bin/dhcp6/config_parser.cc
@@ -361,9 +361,9 @@ public:
             // are allowed
             string txt = text_pool->stringValue();
 
-            // first let's remove any spaces or tabs
-            boost::erase_all(txt, " ");
-            boost::erase_all(txt, "\t");
+            // first let's remove any whitespaces
+            boost::erase_all(txt, " "); // space
+            boost::erase_all(txt, "\t"); // tabulation
 
             // Is this prefix/len notation?
             size_t pos = txt.find("/");
@@ -373,7 +373,7 @@ public:
                 try {
                     addr = IOAddress(txt.substr(0, pos));
 
-                    // start with the first charater after /
+                    // start with the first character after /
                     string prefix_len = txt.substr(pos + 1);
 
                     // It is lexical cast to int and then downcast to uint8_t.



More information about the bind10-changes mailing list