diff --git a/src/lib/dhcp/tests/option_vendor_class_unittest.cc b/src/lib/dhcp/tests/option_vendor_class_unittest.cc index bb0fc17948..cc9dac9dff 100644 --- a/src/lib/dhcp/tests/option_vendor_class_unittest.cc +++ b/src/lib/dhcp/tests/option_vendor_class_unittest.cc @@ -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_); diff --git a/src/lib/dhcpsrv/cfgmgr.cc b/src/lib/dhcpsrv/cfgmgr.cc index a96f497f96..4db3124868 100644 --- a/src/lib/dhcpsrv/cfgmgr.cc +++ b/src/lib/dhcpsrv/cfgmgr.cc @@ -113,7 +113,7 @@ CfgMgr::commit() { // Now we need to set the statistics back. configuration_->updateStatistics(); - configuration_->propagateParametersToLowerLevelLibraries(); + configuration_->configureLowerLevelLibraries(); } void diff --git a/src/lib/dhcpsrv/srv_config.cc b/src/lib/dhcpsrv/srv_config.cc index 73d6df4844..10bb2d6c58 100644 --- a/src/lib/dhcpsrv/srv_config.cc +++ b/src/lib/dhcpsrv/srv_config.cc @@ -892,7 +892,7 @@ SrvConfig::setIPReservationsUnique(const bool unique) { } void -SrvConfig::propagateParametersToLowerLevelLibraries() const { +SrvConfig::configureLowerLevelLibraries() const { Option::lenient_parsing_ = lenient_option_parsing_; } diff --git a/src/lib/dhcpsrv/srv_config.h b/src/lib/dhcpsrv/srv_config.h index f77533ad00..a5778ad8c2 100644 --- a/src/lib/dhcpsrv/srv_config.h +++ b/src/lib/dhcpsrv/srv_config.h @@ -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: