]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2269] Typo fixed.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 11 Oct 2012 12:30:28 +0000 (14:30 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 11 Oct 2012 12:30:28 +0000 (14:30 +0200)
src/bin/dhcp6/config_parser.cc

index 9f75cd72f572339d4a9637bb1b8cf28788de7c1b..dbffc408636a22b560845b2ac99710c59b42e011 100644 (file)
@@ -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.