]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1680] minor rename and comment fix
authorAndrei Pavel <andrei@isc.org>
Wed, 19 May 2021 12:13:39 +0000 (15:13 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 19 May 2021 12:59:03 +0000 (15:59 +0300)
src/lib/dhcp/tests/option_vendor_class_unittest.cc
src/lib/dhcpsrv/cfgmgr.cc
src/lib/dhcpsrv/srv_config.cc
src/lib/dhcpsrv/srv_config.h

index bb0fc17948d20e9c8af067421ec029ca4e6e2008..cc9dac9dffcfcbf2a2cc0ce7de95ac117c92cf23 100644 (file)
@@ -461,8 +461,8 @@ TEST(OptionVendorClass, toText6) {
               vendor_class.toText(2));
 }
 
-// Test that the DHCPv6 option with truncated or over-extending (depends on
-// perspective) buffers is parsed correctly when lenient mode is enabled.
+// Test that a well formed DHCPv6 option with two opaque data tuples is parsed
+// correctly when lenient mode is enabled.
 TEST_F(OptionVendorClassLenientParsing, unpack6WellFormed) {
     // Enable lenient parsing.
     bool const previous(Option::lenient_parsing_);
index a96f497f9667368963c408c823677fdc425a334e..4db3124868645f758214cacea861d525b76415bd 100644 (file)
@@ -113,7 +113,7 @@ CfgMgr::commit() {
     // Now we need to set the statistics back.
     configuration_->updateStatistics();
 
-    configuration_->propagateParametersToLowerLevelLibraries();
+    configuration_->configureLowerLevelLibraries();
 }
 
 void
index 73d6df4844d871845d6a3cdd1d54678fc9e04084..10bb2d6c587b6a5b380a41394b12d0a3d56903da 100644 (file)
@@ -892,7 +892,7 @@ SrvConfig::setIPReservationsUnique(const bool unique) {
 }
 
 void
-SrvConfig::propagateParametersToLowerLevelLibraries() const {
+SrvConfig::configureLowerLevelLibraries() const {
     Option::lenient_parsing_ = lenient_option_parsing_;
 }
 
index f77533ad00106b29693abd37ca423db966156df0..a5778ad8c213edc765b5b52c2b0de454f1878293 100644 (file)
@@ -869,7 +869,7 @@ public:
     /// can't be easily called from where the configuration parameter is used,
     /// usually because that particular library is lower in the dependency tree.
     /// Happens on configuration commit.
-    void propagateParametersToLowerLevelLibraries() const;
+    void configureLowerLevelLibraries() const;
 
 private: