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_);
// Now we need to set the statistics back.
configuration_->updateStatistics();
- configuration_->propagateParametersToLowerLevelLibraries();
+ configuration_->configureLowerLevelLibraries();
}
void
}
void
-SrvConfig::propagateParametersToLowerLevelLibraries() const {
+SrvConfig::configureLowerLevelLibraries() const {
Option::lenient_parsing_ = lenient_option_parsing_;
}
/// 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: