mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
[#1680] minor rename and comment fix
This commit is contained in:
@@ -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_);
|
||||
|
@@ -113,7 +113,7 @@ CfgMgr::commit() {
|
||||
// Now we need to set the statistics back.
|
||||
configuration_->updateStatistics();
|
||||
|
||||
configuration_->propagateParametersToLowerLevelLibraries();
|
||||
configuration_->configureLowerLevelLibraries();
|
||||
}
|
||||
|
||||
void
|
||||
|
@@ -892,7 +892,7 @@ SrvConfig::setIPReservationsUnique(const bool unique) {
|
||||
}
|
||||
|
||||
void
|
||||
SrvConfig::propagateParametersToLowerLevelLibraries() const {
|
||||
SrvConfig::configureLowerLevelLibraries() const {
|
||||
Option::lenient_parsing_ = lenient_option_parsing_;
|
||||
}
|
||||
|
||||
|
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user