]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5019_rebase] Fix after rebase.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 26 Jan 2017 13:26:16 +0000 (14:26 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 26 Jan 2017 13:26:16 +0000 (14:26 +0100)
src/bin/dhcp4/json_config_parser.cc

index bf206bea45c91e41db67af25a5d282c8a3e00397..4eba35490076b0bd2b1dce83b9302f6aa780ca2f 100644 (file)
@@ -740,15 +740,6 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
         // Setup the command channel.
         configureCommandChannel();
 
-        // the leases database parser is the last to be run.
-        std::map<std::string, ConstElementPtr>::const_iterator leases_config =
-            values_map.find("lease-database");
-        if (leases_config != values_map.end()) {
-            config_pair.first = "lease-database";
-            leases_parser->build(leases_config->second);
-            leases_parser->commit();
-        }
-
         // Apply global options in the staging config.
         Dhcp4ConfigParser global_parser;
         global_parser.parse(mutable_cfg);