mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 07:25:18 +00:00
[#3747] Spelling
This commit is contained in:
committed by
Thomas Markwalder
parent
ed878accd1
commit
cb337885cb
@@ -2382,7 +2382,7 @@ TEST_F(ClassifyTest, networkScopeClientClasses) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verifies that mulitple occurences of an option with
|
// Verifies that multiple occurrences of an option with
|
||||||
// different client class tags works properly.
|
// different client class tags works properly.
|
||||||
TEST_F(ClassifyTest, classTaggingList) {
|
TEST_F(ClassifyTest, classTaggingList) {
|
||||||
IfaceMgrTestConfig test_config(true);
|
IfaceMgrTestConfig test_config(true);
|
||||||
@@ -2470,7 +2470,7 @@ TEST_F(ClassifyTest, classTaggingList) {
|
|||||||
query->setIface("eth1");
|
query->setIface("eth1");
|
||||||
query->setIndex(ETH1_INDEX);
|
query->setIndex(ETH1_INDEX);
|
||||||
|
|
||||||
// Add an PRL option requestion server-str option to the query.
|
// Add an PRL option requesting server-str option to the query.
|
||||||
OptionUint8ArrayPtr prl(new OptionUint8Array(Option::V4,
|
OptionUint8ArrayPtr prl(new OptionUint8Array(Option::V4,
|
||||||
DHO_DHCP_PARAMETER_REQUEST_LIST));
|
DHO_DHCP_PARAMETER_REQUEST_LIST));
|
||||||
prl->addValue(223);
|
prl->addValue(223);
|
||||||
|
@@ -3488,7 +3488,7 @@ TEST_F(ClassifyTest, classTaggingList) {
|
|||||||
// Create a SOLICIT
|
// Create a SOLICIT
|
||||||
Pkt6Ptr query = createSolicit();
|
Pkt6Ptr query = createSolicit();
|
||||||
|
|
||||||
// Add an ORO option requestion server-str option to the query.
|
// Add an ORO option requesting server-str option to the query.
|
||||||
OptionUint16ArrayPtr oro(new OptionUint16Array(Option::V6, D6O_ORO));
|
OptionUint16ArrayPtr oro(new OptionUint16Array(Option::V6, D6O_ORO));
|
||||||
ASSERT_TRUE(oro);
|
ASSERT_TRUE(oro);
|
||||||
oro->addValue(701);
|
oro->addValue(701);
|
||||||
|
@@ -694,9 +694,9 @@ public:
|
|||||||
return (OptionDescriptor(false, false));
|
return (OptionDescriptor(false, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
// We treat the emtpy client-classes case (if present) as a default.
|
// We treat the empty client-classes case (if present) as a default.
|
||||||
// If we encounter it before we reach the end of the list of options
|
// If we encounter it before we reach the end of the list of options
|
||||||
// remember it but keep checking the list for an acutal match. We do
|
// remember it but keep checking the list for an actual match. We do
|
||||||
// it this way to avoid expecting the entries in any particular order.
|
// it this way to avoid expecting the entries in any particular order.
|
||||||
auto & index = options->get<1>();
|
auto & index = options->get<1>();
|
||||||
auto range = index.equal_range(option_code);
|
auto range = index.equal_range(option_code);
|
||||||
|
Reference in New Issue
Block a user