Browse Source

spelling: whether

Josh Soref 8 years ago
parent
commit
01ae91556e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dhcp/option_custom.cc
  2. 1 1
      src/lib/dhcp/option_definition.h

+ 1 - 1
src/lib/dhcp/option_custom.cc

@@ -262,7 +262,7 @@ OptionCustom::createBuffers(const OptionBuffer& data_buf) {
                     // remaining part of the buffer for it. Note that variable
                     // size data can be laid at the end of the option only and
                     // that the validate() function in OptionDefinition object
-                    // should have checked wheter it is a case for this option.
+                    // should have checked whether it is a case for this option.
                     data_size = std::distance(data, data_buf.end());
                 } else if (*field == OPT_IPV6_PREFIX_TYPE) {
                     // The size of the IPV6 prefix type is determined as

+ 1 - 1
src/lib/dhcp/option_definition.h

@@ -693,7 +693,7 @@ private:
     uint16_t code_;
     /// Option data type.
     OptionDataType type_;
-    /// Indicates wheter option is a single value or array.
+    /// Indicates whether option is a single value or array.
     bool array_type_;
     /// Name of the space being encapsulated by this option.
     std::string encapsulated_space_;