From 01ae91556e340b8884c3fb4783c23191438e4773 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 23 Jul 2017 17:24:29 -0400 Subject: [PATCH] spelling: whether --- src/lib/dhcp/option_custom.cc | 2 +- src/lib/dhcp/option_definition.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_; -- 2.47.2