Remove a duplicated line in commandOptions::reset() and corrected
header comments in initClientsNum().
rate_ = 0;
report_delay_ = 0;
clients_num_ = 0;
- clients_num_ = 0;
mac_prefix_.assign(mac, mac + 6);
base_.resize(0);
num_request_.resize(0);
/// \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();