mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#1680] minor rename and comment fix
This commit is contained in:
@@ -461,8 +461,8 @@ TEST(OptionVendorClass, toText6) {
|
|||||||
vendor_class.toText(2));
|
vendor_class.toText(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test that the DHCPv6 option with truncated or over-extending (depends on
|
// Test that a well formed DHCPv6 option with two opaque data tuples is parsed
|
||||||
// perspective) buffers is parsed correctly when lenient mode is enabled.
|
// correctly when lenient mode is enabled.
|
||||||
TEST_F(OptionVendorClassLenientParsing, unpack6WellFormed) {
|
TEST_F(OptionVendorClassLenientParsing, unpack6WellFormed) {
|
||||||
// Enable lenient parsing.
|
// Enable lenient parsing.
|
||||||
bool const previous(Option::lenient_parsing_);
|
bool const previous(Option::lenient_parsing_);
|
||||||
|
@@ -113,7 +113,7 @@ CfgMgr::commit() {
|
|||||||
// Now we need to set the statistics back.
|
// Now we need to set the statistics back.
|
||||||
configuration_->updateStatistics();
|
configuration_->updateStatistics();
|
||||||
|
|
||||||
configuration_->propagateParametersToLowerLevelLibraries();
|
configuration_->configureLowerLevelLibraries();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@@ -892,7 +892,7 @@ SrvConfig::setIPReservationsUnique(const bool unique) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SrvConfig::propagateParametersToLowerLevelLibraries() const {
|
SrvConfig::configureLowerLevelLibraries() const {
|
||||||
Option::lenient_parsing_ = lenient_option_parsing_;
|
Option::lenient_parsing_ = lenient_option_parsing_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -869,7 +869,7 @@ public:
|
|||||||
/// can't be easily called from where the configuration parameter is used,
|
/// can't be easily called from where the configuration parameter is used,
|
||||||
/// usually because that particular library is lower in the dependency tree.
|
/// usually because that particular library is lower in the dependency tree.
|
||||||
/// Happens on configuration commit.
|
/// Happens on configuration commit.
|
||||||
void propagateParametersToLowerLevelLibraries() const;
|
void configureLowerLevelLibraries() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user