BIND 10 trac2637, updated. 058953aa54d09f94753ed1dcaa6066949ff57198 [2637] Trivial: corrected invalid comment.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 22 11:49:47 UTC 2013


The branch, trac2637 has been updated
       via  058953aa54d09f94753ed1dcaa6066949ff57198 (commit)
      from  4e02045923698cb38b29b22b25e700a41c10aaee (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 058953aa54d09f94753ed1dcaa6066949ff57198
Author: Marcin Siodelski <marcin at isc.org>
Date:   Tue Jan 22 12:49:38 2013 +0100

    [2637] Trivial: corrected invalid comment.

-----------------------------------------------------------------------

Summary of changes:
 src/bin/dhcp4/config_parser.cc |    5 ++---
 src/bin/dhcp6/config_parser.cc |    2 ++
 2 files changed, 4 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/config_parser.cc b/src/bin/dhcp4/config_parser.cc
index 861a570..b228b97 100644
--- a/src/bin/dhcp4/config_parser.cc
+++ b/src/bin/dhcp4/config_parser.cc
@@ -755,8 +755,7 @@ private:
                       << "', it must not exceed '"
                       << std::numeric_limits<uint8_t>::max() << "'");
         }
-        // Check that the option name has been specified, is non-empty and does not
-        // contain spaces.
+        // Check that the option name has been specified and that it is valid.
         std::string option_name = getParam<std::string>("name", string_values_);
         if (!OptionDefinition::validateName(option_name)) {
             isc_throw(DhcpConfigError, "name of the option with code '"
@@ -764,7 +763,7 @@ private:
                       << option_name << "'");
         }
 
-        // Check that the option name has been specified and that it is
+        // Check that the option space name has been specified and that it is
         // valid.
         std::string option_space = getParam<std::string>("space", string_values_);
         if (!OptionSpace::validateName(option_space)) {
diff --git a/src/bin/dhcp6/config_parser.cc b/src/bin/dhcp6/config_parser.cc
index af81deb..5f93c3e 100644
--- a/src/bin/dhcp6/config_parser.cc
+++ b/src/bin/dhcp6/config_parser.cc
@@ -794,6 +794,8 @@ private:
                       << option_name << "'");
         }
 
+        // Check that the option space name has been specified and that
+        // it is valid.
         std::string option_space = getParam<std::string>("space", string_values_);
         if (!OptionSpace::validateName(option_space)) {
             isc_throw(DhcpConfigError, "invalid option space name '"



More information about the bind10-changes mailing list