Browse Source

[5314] Two minor corrections.

Tomek Mrugalski 7 years ago
parent
commit
b0aea8eea9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dhcpsrv/cfg_subnets6.h
  2. 1 1
      src/lib/dhcpsrv/tests/srv_config_unittest.cc

+ 1 - 1
src/lib/dhcpsrv/cfg_subnets6.h

@@ -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

+ 1 - 1
src/lib/dhcpsrv/tests/srv_config_unittest.cc

@@ -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.