From: Jeremy C. Reed Date: Fri, 27 Sep 2013 17:31:33 +0000 (-0500) Subject: [2307]fix misspelling typos in output X-Git-Tag: bind10-1.2.0beta1-release~21^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0d26fc14e05720dc57bb92dce7bd9b7adb0129a;p=thirdparty%2Fkea.git [2307]fix misspelling typos in output --- diff --git a/tests/tools/perfdhcp/command_options.cc b/tests/tools/perfdhcp/command_options.cc index 0485ade162..61379306e7 100644 --- a/tests/tools/perfdhcp/command_options.cc +++ b/tests/tools/perfdhcp/command_options.cc @@ -177,7 +177,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { case 'b': check(base_.size() > 3, "-b already specified," - " unexpected occurence of 5th -b"); + " unexpected occurrence of 5th -b"); base_.push_back(optarg); decodeBase(base_.back()); break; @@ -193,7 +193,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { case 'd': check(drop_time_set_ > 1, "maximum number of drops already specified, " - "unexpected 3rd occurence of -d"); + "unexpected 3rd occurrence of -d"); try { drop_time_[drop_time_set_] = boost::lexical_cast(optarg); @@ -212,7 +212,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { percent_loc = drop_arg.find('%'); check(max_pdrop_.size() > 1 || max_drop_.size() > 1, "values of maximum drops: -D already " - "specified, unexpected 3rd occurence of -D,value>"); + "specified, unexpected 3rd occurrence of -D"); if ((percent_loc) != std::string::npos) { try { drop_percent = @@ -272,7 +272,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { if (num_request_.size() >= 2) { isc_throw(isc::InvalidParameter, "value of maximum number of requests: -n " - "already specified, unexpected 3rd occurence" + "already specified, unexpected 3rd occurrence" " of -n"); } num_request_.push_back(num_req); @@ -285,7 +285,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { } else { isc_throw(isc::InvalidParameter, "random offsets already specified," - " unexpected 3rd occurence of -O"); + " unexpected 3rd occurrence of -O"); } check(offset_arg < 3, "value of random random-offset:" " -O must be greater than 3 "); @@ -339,7 +339,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { } else { isc_throw(isc::InvalidParameter, "template files are already specified," - " unexpected 3rd -T occurence"); + " unexpected 3rd -T occurrence"); } break; @@ -365,7 +365,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { } else { isc_throw(isc::InvalidParameter, "transaction ids already specified," - " unexpected 3rd -X occurence"); + " unexpected 3rd -X occurrence"); } xid_offset_.push_back(offset_arg); break; @@ -712,7 +712,7 @@ CommandOptions::printCommandLine() const { if (ipversion_ == 4) { std::cout << "DISCOVER-OFFER only" << std::endl; } else { - std::cout << "SOLICIT-ADVERETISE only" << std::endl; + std::cout << "SOLICIT-ADVERTISE only" << std::endl; } } if (rate_ != 0) {