]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5314] Two minor corrections.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 28 Jul 2017 19:39:27 +0000 (21:39 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 28 Jul 2017 19:39:27 +0000 (21:39 +0200)
src/lib/dhcpsrv/cfg_subnets6.h
src/lib/dhcpsrv/tests/srv_config_unittest.cc

index 8ea915188853c99290a97d6a0f3802c468628028..7cc9f44cae0af1ce5b24e2e9d6b9f330226804e2 100644 (file)
@@ -56,7 +56,7 @@ public:
     ///
     /// The const pointer is returned by this method to prevent a caller from
     /// modifying the subnet configuration. Modifications to subnet configuration
-    /// is dangerous and must be done carefully. The subnets' configruation is
+    /// is dangerous and must be done carefully. The subnets' configuration is
     /// held in the multi index container and any modifications to the subnet
     /// id or subnet prefix must trigger re-indexing of multi index container.
     /// There is no possibility to enforce this when the non-const pointer is
index fa465e7962923add498ccea491b82a80af9a3bc1..cd664b666de291c4560e595a6c0399d73020f2c7 100644 (file)
@@ -51,7 +51,7 @@ public:
             test_subnets4_.push_back(subnet);
         }
         // Create IPv6 subnets.
-        IOAddress prefix("2001:db8:1::0");
+        IOAddress prefix("2001:db8:1::");
         for (int i = 0; i < TEST_SUBNETS_NUM; ++i) {
             // This is a base prefix. All other prefixes will be created by
             // modifying this one.