Browse Source

spelling: option

Josh Soref 7 years ago
parent
commit
d661af2a5e

+ 1 - 1
src/bin/dhcp6/tests/config_parser_unittest.cc

@@ -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);

+ 1 - 1
src/bin/perfdhcp/pkt_transform.h

@@ -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.

+ 2 - 2
src/lib/dhcp/tests/option_custom_unittest.cc

@@ -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) {

+ 1 - 1
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc

@@ -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\": [ {"

+ 1 - 1
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h

@@ -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.

+ 1 - 1
src/lib/eval/eval_messages.mes

@@ -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