BIND 10 trac703, updated. 2c8303354db6a7d41b4c2e90181b5fcd5db40aee [trac703] Correct the test in a check of a command option argument
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Apr 13 17:08:09 UTC 2011
The branch, trac703 has been updated
via 2c8303354db6a7d41b4c2e90181b5fcd5db40aee (commit)
from 96b5b4c186fffb2a52891209bd8c95e92e45573e (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 2c8303354db6a7d41b4c2e90181b5fcd5db40aee
Author: Stephen Morris <stephen at isc.org>
Date: Wed Apr 13 18:07:35 2011 +0100
[trac703] Correct the test in a check of a command option argument
-----------------------------------------------------------------------
Summary of changes:
tests/tools/badpacket/command_options.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/badpacket/command_options.cc b/tests/tools/badpacket/command_options.cc
index f606c0c..03eeb75 100644
--- a/tests/tools/badpacket/command_options.cc
+++ b/tests/tools/badpacket/command_options.cc
@@ -289,7 +289,7 @@ CommandOptions::processOptionValue(int c, const char* value) {
}
// Check that tokens lie inside the allowed ranges.
- if ((tokens.size() == 2) &&
+ if ((tokens.size() == 1) &&
((options_[index].minimum < OptionInfo::minval(index)) || (options_[index].maximum > maxval))) {
isc_throw(isc::BadValue, "the value of " << options_[index].minimum <<
" given for " << name << " is outside the range of " <<
More information about the bind10-changes
mailing list