From: Piotrek Zadroga Date: Thu, 23 Mar 2023 13:49:21 +0000 (+0100) Subject: [#939] Fixing typos X-Git-Tag: Kea-2.3.6~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c98eff825bf0fb76d6ec009cee36237e51ab5ff1;p=thirdparty%2Fkea.git [#939] Fixing typos --- diff --git a/src/lib/dhcp/option_definition.cc b/src/lib/dhcp/option_definition.cc index c448b0c38a..dd8c43ad76 100644 --- a/src/lib/dhcp/option_definition.cc +++ b/src/lib/dhcp/option_definition.cc @@ -780,9 +780,9 @@ OptionDefinition::factoryOpaqueDataTuples(Option::Universe u, uint16_t type, OptionBufferConstIter begin, OptionBufferConstIter end, - OpaqueDataTuple::LengthFieldType lenFieldType) { + OpaqueDataTuple::LengthFieldType length_field_type) { boost::shared_ptr - option(new OptionOpaqueDataTuples(u, type, begin, end, lenFieldType)); + option(new OptionOpaqueDataTuples(u, type, begin, end, length_field_type)); return (option); } diff --git a/src/lib/dhcp/option_definition.h b/src/lib/dhcp/option_definition.h index 7ea31ec8c3..c76dcfe69a 100644 --- a/src/lib/dhcp/option_definition.h +++ b/src/lib/dhcp/option_definition.h @@ -590,14 +590,14 @@ public: /// with a list of tuples. /// @param end iterator pointing to the end of the buffer with /// a list of tuples. - /// @param lenFieldType explicit tuple's length field type. + /// @param length_field_type explicit tuple's length field type. /// /// @return instance of the DHCP option. static OptionPtr factoryOpaqueDataTuples(Option::Universe u, uint16_t type, OptionBufferConstIter begin, OptionBufferConstIter end, - OpaqueDataTuple::LengthFieldType lenFieldType); + OpaqueDataTuple::LengthFieldType length_field_type); /// @brief Factory function to create option with integer value. /// diff --git a/src/lib/dhcp/option_opaque_data_tuples.h b/src/lib/dhcp/option_opaque_data_tuples.h index b52257e61a..4edfbeb00b 100644 --- a/src/lib/dhcp/option_opaque_data_tuples.h +++ b/src/lib/dhcp/option_opaque_data_tuples.h @@ -147,7 +147,7 @@ public: virtual std::string toText(int indent = 0) const; private: - /// @brief length of the field which holds he size of the tuple. + /// @brief length of the field which holds the size of the tuple. OpaqueDataTuple::LengthFieldType length_field_type_; /// @brief Collection of opaque data tuples carried by the option.