From: Josh Soref Date: Sun, 23 Jul 2017 21:24:29 +0000 (-0400) Subject: spelling: whether X-Git-Tag: trac5124a_base~35^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ae91556e340b8884c3fb4783c23191438e4773;p=thirdparty%2Fkea.git spelling: whether --- diff --git a/src/lib/dhcp/option_custom.cc b/src/lib/dhcp/option_custom.cc index bb45e3bb03..023d71424d 100644 --- a/src/lib/dhcp/option_custom.cc +++ b/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 diff --git a/src/lib/dhcp/option_definition.h b/src/lib/dhcp/option_definition.h index d415b40e1c..e1e89060b2 100644 --- a/src/lib/dhcp/option_definition.h +++ b/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_;