BIND 10 trac1954, updated. 7401fd9fbbe95b310165bd34da5b27359caf1c66 [1954] Minor changes

BIND 10 source code commits bind10-changes at lists.isc.org
Mon May 28 13:17:30 UTC 2012


The branch, trac1954 has been updated
       via  7401fd9fbbe95b310165bd34da5b27359caf1c66 (commit)
      from  a3f8c40ba785618482a17a3ee2cf8edc65e37d73 (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 7401fd9fbbe95b310165bd34da5b27359caf1c66
Author: Stephen Morris <stephen at isc.org>
Date:   Mon May 28 14:01:12 2012 +0100

    [1954] Minor changes
    
    Remove a duplicated line in commandOptions::reset() and corrected
    header comments in initClientsNum().

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

Summary of changes:
 tests/tools/perfdhcp/command_options.cc |    1 -
 tests/tools/perfdhcp/command_options.h  |    6 ++++--
 2 files changed, 4 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/command_options.cc b/tests/tools/perfdhcp/command_options.cc
index aa47596..7b62076 100644
--- a/tests/tools/perfdhcp/command_options.cc
+++ b/tests/tools/perfdhcp/command_options.cc
@@ -54,7 +54,6 @@ CommandOptions::reset() {
     rate_ = 0;
     report_delay_ = 0;
     clients_num_ = 0;
-    clients_num_ = 0;
     mac_prefix_.assign(mac, mac + 6);
     base_.resize(0);
     num_request_.resize(0);
diff --git a/tests/tools/perfdhcp/command_options.h b/tests/tools/perfdhcp/command_options.h
index a0e99af..033d29a 100644
--- a/tests/tools/perfdhcp/command_options.h
+++ b/tests/tools/perfdhcp/command_options.h
@@ -293,9 +293,11 @@ private:
     /// \throw InvalidParameter if string is empty
     std::string nonEmptyString(const std::string& errmsg) const;
 
-    /// \brief Calculates max_random_ and random_range_
+    /// \brief Set number of clients
+    ///
+    /// Interprets the getopt() "opt" global variable as the number of clients
+    /// (a non-negative number).  This value is specified by the "-R" switch.
     ///
-    /// \param opt Value of -R option
     /// \throw InvalidParameter if -R<value> is wrong
     void initClientsNum();
 



More information about the bind10-changes mailing list