BIND 10 trac1960, updated. d570aa48262648cfccdf96e01b1c7c66a9d0839d [1960] The command line 'server' argument is printed.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 25 20:13:59 UTC 2012


The branch, trac1960 has been updated
       via  d570aa48262648cfccdf96e01b1c7c66a9d0839d (commit)
      from  85c7fb2e4627e84c2d17c59432509a221034e6ea (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 d570aa48262648cfccdf96e01b1c7c66a9d0839d
Author: Marcin Siodelski <marcin at isc.org>
Date:   Tue Sep 25 22:13:38 2012 +0200

    [1960] The command line 'server' argument is printed.

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

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

-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/command_options.cc b/tests/tools/perfdhcp/command_options.cc
index 9738131..ef1adf6 100644
--- a/tests/tools/perfdhcp/command_options.cc
+++ b/tests/tools/perfdhcp/command_options.cc
@@ -365,8 +365,6 @@ CommandOptions::initialize(int argc, char** argv) {
         }
     }
 
-    std::cout << "Running: " << stream.str() << std::endl;
-
     // If the IP version was not specified in the
     // command line, assume IPv4.
     if (ipversion_ == 0) {
@@ -394,6 +392,7 @@ CommandOptions::initialize(int argc, char** argv) {
     check(optind < argc -1, "extra arguments?");
     if (optind == argc - 1) {
         server_name_ = argv[optind];
+        stream << " " << server_name_;
         // Decode special cases
         if ((ipversion_ == 4) && (server_name_.compare("all") == 0)) {
             broadcast_ = true;
@@ -407,6 +406,8 @@ CommandOptions::initialize(int argc, char** argv) {
         }
     }
 
+    std::cout << "Running: " << stream.str() << std::endl;
+
     // Handle the local '-l' address/interface
     if (!localname_.empty()) {
         if (server_name_.empty()) {



More information about the bind10-changes mailing list