]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#939] Fixing typos
authorPiotrek Zadroga <piotrek@isc.org>
Thu, 23 Mar 2023 13:49:21 +0000 (14:49 +0100)
committerPiotrek Zadroga <piotrek@isc.org>
Thu, 23 Mar 2023 13:51:23 +0000 (14:51 +0100)
src/lib/dhcp/option_definition.cc
src/lib/dhcp/option_definition.h
src/lib/dhcp/option_opaque_data_tuples.h

index c448b0c38aec3e8171b0b1543304fc18db704b77..dd8c43ad76b548ff1db48e8d1a81193d125229e2 100644 (file)
@@ -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<OptionOpaqueDataTuples>
-        option(new OptionOpaqueDataTuples(u, type, begin, end, lenFieldType));
+        option(new OptionOpaqueDataTuples(u, type, begin, end, length_field_type));
 
     return (option);
 }
index 7ea31ec8c347ef765bfa9e1831ee62d92e7679dc..c76dcfe69a1cb2b981bfb94ad61ec877c9de62a4 100644 (file)
@@ -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.
     ///
index b52257e61a53c4bb75d09690882c9791a6005968..4edfbeb00be3f80a2a29a9328a69d3119109a29d 100644 (file)
@@ -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.