Commit d661af2a authored by Josh Soref's avatar Josh Soref
Browse files

spelling: option

parent 2996e649
......@@ -2935,7 +2935,7 @@ TEST_F(Dhcp6ParserTest, optionDataEncapsulate) {
EXPECT_TRUE(desc.option_);
EXPECT_EQ(100, desc.option_->getType());
// This opton should comprise two sub-options.
// This option should comprise two sub-options.
// Onf of them is 'foo' with code 110.
OptionPtr option_foo = desc.option_->getOption(110);
ASSERT_TRUE(option_foo);
......
......@@ -146,7 +146,7 @@ private:
///
/// \param universe universe used, V4 or V6
/// \param in_buffer input buffer to be parsed.
/// \param options oprions collection with their offsets
/// \param options options collection with their offsets
/// in input buffer specified.
///
/// \throw isc::Unexpected if options unpack failed.
......
......@@ -1149,7 +1149,7 @@ TEST_F(OptionCustomTest, tupleDataArray6) {
);
}
// The purpose of this test is to verify that the opton definition comprising
// The purpose of this test is to verify that the option definition comprising
// a record of fixed-size fields can be used to create an option with a
// suboption.
TEST_F(OptionCustomTest, recordDataWithSuboption) {
......@@ -1440,7 +1440,7 @@ TEST_F(OptionCustomTest, setIpv4AddressData) {
EXPECT_EQ("192.168.0.1", address.toText());
}
// The purpose of this test is to verify that an opton comprising
// The purpose of this test is to verify that an option comprising
// single IPv6 address can be created and that this address can
// be overriden by a new value.
TEST_F(OptionCustomTest, setIpv6AddressData) {
......
......@@ -1338,7 +1338,7 @@ TEST_F(ParseConfigTest, emptyOptionData) {
}
// This test verifies an option data without suboptions is supported
TEST_F(ParseConfigTest, optionDataNoSubOpion) {
TEST_F(ParseConfigTest, optionDataNoSubOption) {
// Configuration string.
const std::string config =
"{ \"option-data\": [ {"
......
......@@ -148,7 +148,7 @@ public:
void compareOptions(const ConstCfgOptionPtr& cfg1,
const ConstCfgOptionPtr& cfg2) const;
/// @brief Creates an opton descriptor holding an empty option.
/// @brief Creates an option descriptor holding an empty option.
///
/// @param universe V4 or V6.
/// @param option_type Option type.
......
......@@ -48,7 +48,7 @@ This debug message indicates that the first value is popped from
the value stack, negated and then pushed onto the value stack.
The string is displayed in text.
# For use with TokenOption based classes. These include TokenOpton,
# For use with TokenOption based classes. These include TokenOption,
# TokenRelay4Option and TokenRelay6Option.
% EVAL_DEBUG_OPTION Pushing option %1 with value %2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment