mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 15:35:17 +00:00
[5122] spelling & find -> get
This commit is contained in:
@@ -197,7 +197,7 @@ protected:
|
|||||||
subnet_ = subnet4;
|
subnet_ = subnet4;
|
||||||
|
|
||||||
// Set the match-client-id value for the subnet. It is always present.
|
// Set the match-client-id value for the subnet. It is always present.
|
||||||
// If not explicitly specified, the default value was filed in when
|
// If not explicitly specified, the default value was filled in when
|
||||||
// SimpleParser4::setAllDefaults was called.
|
// SimpleParser4::setAllDefaults was called.
|
||||||
bool match_client_id = getBoolean(params, "match-client-id");
|
bool match_client_id = getBoolean(params, "match-client-id");
|
||||||
subnet4->setMatchClientId(match_client_id);
|
subnet4->setMatchClientId(match_client_id);
|
||||||
@@ -212,7 +212,7 @@ protected:
|
|||||||
subnet4->setSiaddr(IOAddress(next_server));
|
subnet4->setSiaddr(IOAddress(next_server));
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
ConstElementPtr next = params->find("next-server");
|
ConstElementPtr next = params->get("next-server");
|
||||||
string pos("(missing)");
|
string pos("(missing)");
|
||||||
if (next)
|
if (next)
|
||||||
pos = next->getPosition().str();
|
pos = next->getPosition().str();
|
||||||
|
Reference in New Issue
Block a user