From b0aea8eea96e563668c704f20da33aa04139ae2b Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Fri, 28 Jul 2017 21:39:27 +0200 Subject: [PATCH] [5314] Two minor corrections. --- src/lib/dhcpsrv/cfg_subnets6.h | 2 +- src/lib/dhcpsrv/tests/srv_config_unittest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.2