]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
spelling: whether
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 23 Jul 2017 21:24:29 +0000 (17:24 -0400)
committerJosh Soref <jsoref@users.noreply.github.com>
Sun, 23 Jul 2017 21:24:29 +0000 (17:24 -0400)
src/lib/dhcp/option_custom.cc
src/lib/dhcp/option_definition.h

index bb45e3bb034ba3f974b39ddeefaf7107526a45b1..023d71424dcc5c2834ef2902a19736edf2e83832 100644 (file)
@@ -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
index d415b40e1c109c85729a64a97b8357e9b7e5b3fa..e1e89060b21aa3e13b9bc7bfba8e64d21038b1fb 100644 (file)
@@ -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_;