From: Francis Dupont Date: Fri, 27 Jan 2017 16:28:53 +0000 (+0100) Subject: [5122] spelling & find -> get X-Git-Tag: trac5126_base~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0878ad28fa98a124483f5a31e16042de7353db5a;p=thirdparty%2Fkea.git [5122] spelling & find -> get --- diff --git a/src/bin/dhcp4/json_config_parser.cc b/src/bin/dhcp4/json_config_parser.cc index d3e7653fc0..a830f608b5 100644 --- a/src/bin/dhcp4/json_config_parser.cc +++ b/src/bin/dhcp4/json_config_parser.cc @@ -197,7 +197,7 @@ protected: subnet_ = subnet4; // 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. bool match_client_id = getBoolean(params, "match-client-id"); subnet4->setMatchClientId(match_client_id); @@ -212,7 +212,7 @@ protected: subnet4->setSiaddr(IOAddress(next_server)); } } catch (...) { - ConstElementPtr next = params->find("next-server"); + ConstElementPtr next = params->get("next-server"); string pos("(missing)"); if (next) pos = next->getPosition().str();