Browse Source

[2559] Changes to comments

Stephen Morris 12 years ago
parent
commit
2b81c6b347
2 changed files with 2 additions and 6 deletions
  1. 0 4
      src/lib/dhcpsrv/dbaccess_parser.cc
  2. 2 2
      src/lib/dhcpsrv/dhcpsrv_messages.mes

+ 0 - 4
src/lib/dhcpsrv/dbaccess_parser.cc

@@ -46,7 +46,6 @@ DbAccessParser::build(isc::data::ConstElementPtr config_value) {
     // 2. Update the copy with the passed keywords.
     // 3. Perform validation checks on the updated keyword/value pairs.
     // 4. If all is OK, update the stored keyword/value pairs.
-    // 5. Construct the updated database access string.
 
     // 1. Take a copy of the stored keyword/value pairs.
     map<string, string> values_copy = values_;
@@ -72,9 +71,6 @@ DbAccessParser::build(isc::data::ConstElementPtr config_value) {
         isc_throw(BadValue, "unknown backend database type: " << dbtype);
     }
 
-    /// @todo Log a warning if the type is memfile and there are other keywords.
-    ///       This will be done when the module is moved to libdhcpsrv
-
     // 4. If all is OK, update the stored keyword/value pairs.
     values_ = values_copy;
 }

+ 2 - 2
src/lib/dhcpsrv/dhcpsrv_messages.mes

@@ -61,8 +61,8 @@ returned the specified IPv6 subnet when given the address hint specified
 as the address is within the subnet.
 
 % DHCPSRV_CLOSE_DB closing currently open %1 database
-This is a debug message, issues when the DHCP server closed the currently
-open lease database.  It is issued at program shutdown, and whenever
+This is a debug message, issued when the DHCP server closes the currently
+open lease database.  It is issued at program shutdown and whenever
 the database access parameters are changed: in the latter case, the
 server closes the currently open database, and opens a database using
 the new parameters.