Browse Source

[5019_rebase] Fix after rebase.

Tomek Mrugalski 8 years ago
parent
commit
737a7959b4
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/bin/dhcp4/json_config_parser.cc

+ 0 - 9
src/bin/dhcp4/json_config_parser.cc

@@ -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);