From: Josh Soref Date: Sun, 23 Jul 2017 17:26:58 +0000 (-0400) Subject: spelling: identifier X-Git-Tag: trac5124a_base~35^2~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19bcf4dc22a698a70a7f32055ee3c23ba2ec056f;p=thirdparty%2Fkea.git spelling: identifier --- diff --git a/ChangeLog b/ChangeLog index c1c16d89aa..86f6299eb0 100644 --- a/ChangeLog +++ b/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) diff --git a/src/bin/dhcp6/dhcp6_messages.mes b/src/bin/dhcp6/dhcp6_messages.mes index 90ab7bd8f4..bbdd46bddb 100644 --- a/src/bin/dhcp6/dhcp6_messages.mes +++ b/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 diff --git a/src/lib/dhcp/pkt4.h b/src/lib/dhcp/pkt4.h index d98533a591..1011be7064 100644 --- a/src/lib/dhcp/pkt4.h +++ b/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. /// diff --git a/src/lib/dhcp/std_option_defs.h b/src/lib/dhcp/std_option_defs.h index ddc917ec19..28ec58d816 100644 --- a/src/lib/dhcp/std_option_defs.h +++ b/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. diff --git a/src/lib/dhcp/tests/pkt6_unittest.cc b/src/lib/dhcp/tests/pkt6_unittest.cc index bf8e9bc0a7..eac3668060 100644 --- a/src/lib/dhcp/tests/pkt6_unittest.cc +++ b/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()); } diff --git a/src/lib/dhcpsrv/base_host_data_source.h b/src/lib/dhcpsrv/base_host_data_source.h index 4cc0d6df22..2e3ed16db1 100644 --- a/src/lib/dhcpsrv/base_host_data_source.h +++ b/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 diff --git a/src/lib/dhcpsrv/host.cc b/src/lib/dhcpsrv/host.cc index f342d89a89..573047bdaf 100644 --- a/src/lib/dhcpsrv/host.cc +++ b/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. diff --git a/src/lib/dhcpsrv/host.h b/src/lib/dhcpsrv/host.h index 9ff640d279..1b3552429b 100644 --- a/src/lib/dhcpsrv/host.h +++ b/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', diff --git a/src/lib/dhcpsrv/host_mgr.h b/src/lib/dhcpsrv/host_mgr.h index 34e9e7e7c8..e985f64d40 100644 --- a/src/lib/dhcpsrv/host_mgr.h +++ b/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. diff --git a/src/lib/dhcpsrv/mysql_host_data_source.h b/src/lib/dhcpsrv/mysql_host_data_source.h index 854f4b968a..11e52bd5e3 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.h +++ b/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 diff --git a/src/lib/dhcpsrv/pgsql_host_data_source.h b/src/lib/dhcpsrv/pgsql_host_data_source.h index c5f4253f6d..802d587cbf 100644 --- a/src/lib/dhcpsrv/pgsql_host_data_source.h +++ b/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 diff --git a/src/lib/dhcpsrv/tests/host_unittest.cc b/src/lib/dhcpsrv/tests/host_unittest.cc index 9a222e41e0..fad37178ec 100644 --- a/src/lib/dhcpsrv/tests/host_unittest.cc +++ b/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;