From: Tomek Mrugalski Date: Fri, 28 Jul 2017 19:39:27 +0000 (+0200) Subject: [5314] Two minor corrections. X-Git-Tag: trac5124a_base~9^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0aea8eea96e563668c704f20da33aa04139ae2b;p=thirdparty%2Fkea.git [5314] Two minor corrections. --- diff --git a/src/lib/dhcpsrv/cfg_subnets6.h b/src/lib/dhcpsrv/cfg_subnets6.h index 8ea9151888..7cc9f44cae 100644 --- a/src/lib/dhcpsrv/cfg_subnets6.h +++ b/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 diff --git a/src/lib/dhcpsrv/tests/srv_config_unittest.cc b/src/lib/dhcpsrv/tests/srv_config_unittest.cc index fa465e7962..cd664b666d 100644 --- a/src/lib/dhcpsrv/tests/srv_config_unittest.cc +++ b/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.