Browse Source

spelling: identifier

Josh Soref 7 years ago
parent
commit
19bcf4dc22

+ 1 - 1
ChangeLog

@@ -1114,7 +1114,7 @@ Kea 1.0.0 released on December 29, 2015
 
 1079.	[bug]		jpopelka
 	Fixed compilation issue in MySQL host data source: the
-	dhcp_identifer_length is now unsigned long. This addresses
+	dhcp_identifier_length is now unsigned long. This addresses
 	a compilation problem on Fedora.
 	(Github #17, git 8548d1b589df98cc956b4d80d2cb8819ef576717)
 

+ 1 - 1
src/bin/dhcp6/dhcp6_messages.mes

@@ -258,7 +258,7 @@ DHCP server failed.
 % DHCP6_FLEX_ID flexible identifier generated for incoming packet: %1
 This debug message is printed when host reservation type is set to flexible identifier
 and the expression specified in its configuration generated (was evaluated to)
-an indetifier for incoming packet. This debug message is mainly intended as a
+an identifier for incoming packet. This debug message is mainly intended as a
 debugging assistance for flexible identifier.
 
 % DHCP6_HANDLE_SIGNAL_EXCEPTION An exception was thrown while handing signal: %1

+ 1 - 1
src/lib/dhcp/pkt4.h

@@ -113,7 +113,7 @@ public:
                                  const ClientIdPtr& client_id,
                                  const uint32_t transid);
 
-    /// @brief Returns text representation of the given packet identifers.
+    /// @brief Returns text representation of the given packet identifiers.
     ///
     /// This variant of the method does not include transaction id.
     ///

+ 1 - 1
src/lib/dhcp/std_option_defs.h

@@ -57,7 +57,7 @@ RECORD_DECL(VIVCO_RECORDS, OPT_UINT32_TYPE, OPT_BINARY_TYPE);
 //
 // Three 1 byte fields to describe a network interface: type, major and minor
 RECORD_DECL(CLIENT_NDI_RECORDS, OPT_UINT8_TYPE, OPT_UINT8_TYPE, OPT_UINT8_TYPE);
-// A client identifer: a 1 byte type field followed by opaque data depending on the type
+// A client identifier: a 1 byte type field followed by opaque data depending on the type
 RECORD_DECL(UUID_GUID_RECORDS, OPT_UINT8_TYPE, OPT_BINARY_TYPE);
 
 /// @brief Definitions of standard DHCPv4 options.

+ 1 - 1
src/lib/dhcp/tests/pkt6_unittest.cc

@@ -1689,7 +1689,7 @@ TEST_F(Pkt6Test, getLabelEmptyClientId) {
     // Create a packet.
     Pkt6 pkt(DHCPV6_SOLICIT, 0x2312);
 
-    // Add empty client idenitifier option.
+    // Add empty client identifier option.
     pkt.addOption(OptionPtr(new Option(Option::V6, D6O_CLIENTID)));
     EXPECT_EQ("duid=[no info], tid=0x2312", pkt.getLabel());
 }

+ 1 - 1
src/lib/dhcpsrv/base_host_data_source.h

@@ -251,7 +251,7 @@ public:
     ///
     /// This method supports both v4 and v6.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors

+ 1 - 1
src/lib/dhcpsrv/host.cc

@@ -268,7 +268,7 @@ Host::setIdentifier(const std::string& identifier, const std::string& name) {
     // Set identifier type.
     identifier_type_ = getIdentifierType(name);
 
-    // Idetifier value can either be specified as string of hexadecimal
+    // Identifier value can either be specified as string of hexadecimal
     // digits or a string in quotes. The latter is copied to a vector excluding
     // quote characters.
 

+ 1 - 1
src/lib/dhcpsrv/host.h

@@ -242,7 +242,7 @@ public:
     /// - "yy:yy:yy:yy:yy:yy"
     /// - "yyyyyyyyyy",
     /// - "0xyyyyyyyyyy",
-    /// - "'some identfier'".
+    /// - "'some identifier'".
     /// where y is a hexadecimal digit.
     ///
     /// Note that it is possible to use textual representation, e.g. 'some identifier',

+ 1 - 1
src/lib/dhcpsrv/host_mgr.h

@@ -237,7 +237,7 @@ public:
 
     /// @brief Returns a host from specific subnet and reserved address.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     ///
     /// @return Const @c host object that has a reservation for specified address.

+ 3 - 3
src/lib/dhcpsrv/mysql_host_data_source.h

@@ -224,7 +224,7 @@ public:
     ///
     /// This method supports both v4 and v6.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors
@@ -234,7 +234,7 @@ public:
     ///
     /// This method supports v4 hosts only.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors
@@ -246,7 +246,7 @@ public:
     ///
     /// This method supports v6 hosts only.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors

+ 3 - 3
src/lib/dhcpsrv/pgsql_host_data_source.h

@@ -255,7 +255,7 @@ public:
     ///
     /// This method supports both v4 and v6.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors
@@ -265,7 +265,7 @@ public:
     ///
     /// This method supports v4 hosts only.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors
@@ -277,7 +277,7 @@ public:
     ///
     /// This method supports v6 hosts only.
     ///
-    /// @param subnet_id subnet identfier.
+    /// @param subnet_id subnet identifier.
     /// @param addr specified address.
     /// @return true if deletion was successful, false if the host was not there.
     /// @throw various exceptions in case of errors

+ 1 - 1
src/lib/dhcpsrv/tests/host_unittest.cc

@@ -408,7 +408,7 @@ TEST_F(HostTest, createFromIdentifierString) {
         const std::string identifier_name = Host::getIdentifierName(type);
 
         // Construct unique identifier for a host. This is a string
-        // consisting of a word "idenetifier", hyphen and the name of
+        // consisting of a word "identifier", hyphen and the name of
         // the identifier, e.g. "identifier-hw-address".
         std::ostringstream identifier_without_quotes;
         identifier_without_quotes << "identifier-" << identifier_name;