BIND 10 trac2784, updated. 30fc969527cf3ae250cc6d2ee0ec0248c4b943d0 [2784] Corrected syntax errors due to premature checkin.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Apr 9 11:40:28 UTC 2013


The branch, trac2784 has been updated
       via  30fc969527cf3ae250cc6d2ee0ec0248c4b943d0 (commit)
      from  c7d8adb3fb0903c2b3a8627de14e85742f338d83 (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 30fc969527cf3ae250cc6d2ee0ec0248c4b943d0
Author: Thomas Markwalder <tmark at isc.org>
Date:   Tue Apr 9 07:39:45 2013 -0400

    [2784] Corrected syntax errors due to premature checkin.

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

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

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



More information about the bind10-changes mailing list