BIND 10 trac2637, updated. a4bbade712c4a082d8ae95c9389021d27b74b382 [2637] Minor: corrected error message in the option definition.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jan 18 19:35:58 UTC 2013


The branch, trac2637 has been updated
       via  a4bbade712c4a082d8ae95c9389021d27b74b382 (commit)
      from  ea6e8ea2e28a3c7b22ca2390f3509d791522959b (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 a4bbade712c4a082d8ae95c9389021d27b74b382
Author: Marcin Siodelski <marcin at isc.org>
Date:   Fri Jan 18 20:35:50 2013 +0100

    [2637] Minor: corrected error message in the option definition.

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

Summary of changes:
 src/lib/dhcp/option_definition.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/option_definition.cc b/src/lib/dhcp/option_definition.cc
index 5648efd..253cdcd 100644
--- a/src/lib/dhcp/option_definition.cc
+++ b/src/lib/dhcp/option_definition.cc
@@ -188,8 +188,8 @@ OptionDefinition::optionFactory(Option::Universe u, uint16_t type,
         const RecordFieldsCollection& records = getRecordFields();
         if (records.size() > values.size()) {
             isc_throw(InvalidOptionValue, "number of data fields for the option"
-                      << " type " << type_ << " is greater than number of values"
-                      << " provided.");
+                      << " type '" <<  getCode() << "' is greater than number"
+                      << " of values provided.");
         }
         for (size_t i = 0; i < records.size(); ++i) {
             writeToBuffer(util::str::trim(values[i]),



More information about the bind10-changes mailing list