BIND 10 trac2784, updated. 7a7dc17a59cb4d66ec4f7f4cf96afa81284b3040 [2784] Minor change to error message when wrong IP switch is used

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Apr 10 11:39:16 UTC 2013


The branch, trac2784 has been updated
       via  7a7dc17a59cb4d66ec4f7f4cf96afa81284b3040 (commit)
      from  30fc969527cf3ae250cc6d2ee0ec0248c4b943d0 (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 7a7dc17a59cb4d66ec4f7f4cf96afa81284b3040
Author: Stephen Morris <stephen at isc.org>
Date:   Wed Apr 10 12:38:48 2013 +0100

    [2784] Minor change to error message when wrong IP switch is used

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

Summary of changes:
 tests/tools/perfdhcp/test_control.cc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/test_control.cc b/tests/tools/perfdhcp/test_control.cc
index 5802b5d..388ae57 100644
--- a/tests/tools/perfdhcp/test_control.cc
+++ b/tests/tools/perfdhcp/test_control.cc
@@ -597,12 +597,12 @@ TestControl::openSocket() const {
     uint8_t family = (options.getIpVersion() == 6) ? AF_INET6 : AF_INET; 
     IOAddress remoteaddr(servername);
     
-    // Check for mismatch between ip option and server
+    // Check for mismatch between IP option and server address
     if (family != remoteaddr.getFamily()) {
         isc_throw(InvalidParameter, 
-                  "Values for Ip version: " <<  
-                  static_cast<unsigned int>(options.getIpVersion())
-                  <<  " and Server:" << servername << " are mismatched."); 
+                  "Values for IP version: " <<  
+                  static_cast<unsigned int>(options.getIpVersion()) <<
+                  " and server address: " << servername << " are mismatched."); 
     }
 
     if (port == 0) {



More information about the bind10-changes mailing list