]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5122] spelling & find -> get
authorFrancis Dupont <fdupont@isc.org>
Fri, 27 Jan 2017 16:28:53 +0000 (17:28 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 27 Jan 2017 16:28:53 +0000 (17:28 +0100)
src/bin/dhcp4/json_config_parser.cc

index d3e7653fc077da20c21537931b8ae0ca98ac7034..a830f608b5f9b2a6df0b112ab1d5e9e2dc79c844 100644 (file)
@@ -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();