2
0
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:
Andrei Pavel
2021-05-19 15:13:39 +03:00
parent 2bfd451834
commit 01fdd5ac00
4 changed files with 5 additions and 5 deletions

View 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_);

View File

@@ -113,7 +113,7 @@ CfgMgr::commit() {
// Now we need to set the statistics back.
configuration_->updateStatistics();
configuration_->propagateParametersToLowerLevelLibraries();
configuration_->configureLowerLevelLibraries();
}
void

View File

@@ -892,7 +892,7 @@ SrvConfig::setIPReservationsUnique(const bool unique) {
}
void
SrvConfig::propagateParametersToLowerLevelLibraries() const {
SrvConfig::configureLowerLevelLibraries() const {
Option::lenient_parsing_ = lenient_option_parsing_;
}

View 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: