]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1656] 1.9.4 release: spelling check
authorAndrei Pavel <andrei@isc.org>
Mon, 25 Jan 2021 09:34:13 +0000 (11:34 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 25 Jan 2021 11:52:10 +0000 (13:52 +0200)
18 files changed:
src/bin/d2/d2_messages.mes
src/bin/d2/d2_update_mgr.cc
src/bin/dhcp4/tests/out_of_range_unittest.cc
src/bin/dhcp6/tests/host_unittest.cc
src/bin/perfdhcp/avalanche_scen.cc
src/lib/config/cmds_impl.h
src/lib/dhcpsrv/pgsql_host_data_source.cc
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
src/lib/dhcpsrv/tests/cql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
src/lib/dns/tests/rdata_naptr_unittest.cc
src/lib/http/response_parser.h
src/lib/log/logging.dox
src/lib/pgsql/pgsql_exchange.h
src/lib/process/daemon.h
src/lib/util/range_utilities.h

index 9da42334f3d9cef4dd251b47db570f088ce40cce..a606584700a0d0a97227e8b163719eba9a77df64 100644 (file)
@@ -186,7 +186,7 @@ normal operations but should be temporary situation.
 
 % DHCP_DDNS_NO_FWD_MATCH_ERROR Request ID %1: the configured list of forward DDNS domains does not contain a match for: %2  The request has been discarded.
 This is an error message that indicates that DHCP_DDNS received a request to
-update the forward DNS information for the given FQDN but for which there are
+update the forward DNS information for the given FQDN but for which there are
 no configured DDNS domains in the DHCP_DDNS configuration.  Either the DHCP_DDNS
 configuration needs to be updated or the source of the FQDN itself should be
 investigated.
@@ -198,7 +198,7 @@ request for the FQDN cannot be processed.
 
 % DHCP_DDNS_NO_REV_MATCH_ERROR Request ID %1: the configured list of reverse DDNS domains does not contain a match for: %2  The request has been discarded.
 This is an error message that indicates that DHCP_DDNS received a request to
-update the reverse DNS information for the given FQDN but for which there are
+update the reverse DNS information for the given FQDN but for which there are
 no configured DDNS domains in the DHCP_DDNS configuration.  Either the DHCP_DDNS
 configuration needs to be updated or the source of the FQDN itself should be
 investigated.
index 7f514a9a0bb4958b6f0cc9faa736004987ec1f00..223430e9c9f3e453879fdc74fccb36cd682548dc 100644 (file)
@@ -78,7 +78,7 @@ D2UpdateMgr::checkFinishedTransactions() {
     // to expand as DHCP_DDNS matures.
     // NOTE: One must use postfix increments of the iterator on the calls
     // to erase.  This replaces the old iterator which becomes invalid by the
-    // erase with the next valid iterator.  Prefix incrementing will not
+    // erase with the next valid iterator.  Prefix incrementing will not
     // work.
     TransactionList::iterator it = transaction_list_.begin();
     while (it != transaction_list_.end()) {
index 2d50f7db885b8772ad8d00ba6943e42e05261971..850002da2e0ab0c8bdb99239572f598a282e448b 100644 (file)
@@ -242,7 +242,7 @@ public:
 
     /// @brief Conducts a single out-of-range test scenario
     ///
-    /// Each test cycles consists of the following two stages, the first is
+    /// Each test cycles consists of the following two stages, the first is
     /// a set-up stage during which the server is configured with an initial,
     /// reference, configuration and a client then verifies that it can acquire
     /// and renew a lease.  The second stage verifies that the server, having
index 97e153c9b69bcc2d0c040d45f6c06587e3538682..5638051ea58f0342ab32c24ad7896dd4d96f52d3 100644 (file)
@@ -855,7 +855,7 @@ public:
     /// @brief Initiate exchange with DHCPv6 server.
     ///
     /// This method initiates DHCPv6 message exchange between a specified
-    /// client a the server. The msg_type is used to indicate what kind
+    /// client and the server. The msg_type is used to indicate what kind
     /// of exchange should be initiated. If the message type is a Renew
     /// or Rebind, the 4-way handshake is made first. If the message type
     /// is a Request, the Solicit-Advertise is done prior to this.
index fecb270a962758f6dcb8c38ab95a436e13b02d1e..11a793f8a47cf07f5660fa7569c3d11d71f911a6 100644 (file)
@@ -102,7 +102,7 @@ AvalancheScen::run() {
     // how many times it was already resent and then back off time is calculated:
     // 1, 2, 4, 8, 16, 64 (max) seconds. If estimated time has elapsed
     // from previous sending then the packet is resent. Some stats are collected
-    // and printed during runtime. The whole procedure is stoped when
+    // and printed during runtime. The whole procedure is stopped when
     // all packets got responses.
 
     uint32_t clients_num = options_.getClientsNum() == 0 ?
index 0324021d695ed556886f4670c0c7c3e86d5afd47..f90cee4b28a20ff972889ff768eb36fa6dddae31 100644 (file)
@@ -60,7 +60,7 @@ protected:
     /// @brief Set the callout argument "response" to the given response
     ///
     /// @param handle Callout context handle in which to set the "response" argument
-    /// @param response ElementPtr to the result to use as the response
+    /// @param response ElementPtr to the result to use as the response
     void setResponse(hooks::CalloutHandle& handle, data::ConstElementPtr& response) {
         handle.setArgument ("response", response);
     }
index 2a0a18b7608f5cb8e86a74b26c1a34daa81b9429..a619145ab3263644dcf855a5f71c459d311067e8 100644 (file)
@@ -79,7 +79,7 @@ const size_t DHCP_IDENTIFIER_MAX_LEN = 128;
 ///   when host reservation is created for the DHCPv4 server, the IPv6 subnet id
 ///   should be ignored. Conversely, when host reservation is created for the
 ///   DHCPv6 server, the IPv4 subnet id should be ignored.
-///   NOTE! Zero is the "global" subnet id as Kea 1.5.0
+///   NOTE! Zero is the "global" subnet id as Kea 1.5.0
 ///
 /// To exclude those special case values, the Postgres backend uses partial
 /// indexes, i.e. the only values that are included in the index are those that
index f05533b758ed2cdd030f2cabcfce1ad54da42d76..ded32c596a688b191a108e27018bc930960cba53 100644 (file)
@@ -157,7 +157,7 @@ protected:
     /// @param family - the address family in which the parsing should
     /// occur.
     /// @return Returns a pointer to class dictionary created
-    /// @throw indirectly, execptions converting the JSON text to elements,
+    /// @throw indirectly, exceptions converting the JSON text to elements,
     /// or by the parsing itself are not caught
     ClientClassDictionaryPtr parseClientClassDefList(const std::string& config,
                                                      uint16_t family)
index 1e32997968cf2e729343956b4793f2bdbf15530e..214f7dc17c15362a48e524bcd0c21f11fddfa2f0 100644 (file)
@@ -299,13 +299,13 @@ TEST_F(CqlHostDataSourceTest, basic4HWAddr) {
     testBasic4(Host::IDENT_HWADDR);
 }
 
-// Verifies that IPv4 host reservation with options can have the global
+// Verifies that IPv4 host reservation with options can have the global
 // subnet id value
 TEST_F(CqlHostDataSourceTest, globalSubnetId4) {
     testGlobalSubnetId4();
 }
 
-// Verifies that IPv6 host reservation with options can have the global
+// Verifies that IPv6 host reservation with options can have the global
 // subnet id value
 TEST_F(CqlHostDataSourceTest, globalSubnetId6) {
     testGlobalSubnetId6();
index aadd766002cac71d5aea3abdb13c898090d4d2d7..fc8dc31f9dbcb9ab3bf12e8127eec0d403702870 100644 (file)
@@ -358,7 +358,7 @@ public:
     /// @brief Pretends to wipe all IPv4 leases from a subnet
     /// @param subnet_id (ignored, but one day may specify the subnet)
     virtual size_t wipeLeases6(const SubnetID&) {
-        isc_throw(NotImplemented, "ConcreteLeaseMgr::wipeLeases4 not implemented");
+        isc_throw(NotImplemented, "ConcreteLeaseMgr::wipeLeases6 not implemented");
     }
 
     /// @brief Returns backend type.
index 44f9fea61059f4b582493eeeeb12d203572bb0a2..2677ef0136882327d3e9529b7410f9bad8714ebf 100644 (file)
@@ -452,26 +452,26 @@ TEST_F(MySqlHostDataSourceTest, basic4HWAddrMultiThreading) {
     testBasic4(Host::IDENT_HWADDR);
 }
 
-/// @brief Verifies that IPv4 host reservation with options can have the global
+/// @brief Verifies that IPv4 host reservation with options can have the global
 /// subnet id value
 TEST_F(MySqlHostDataSourceTest, globalSubnetId4) {
     testGlobalSubnetId4();
 }
 
-/// @brief Verifies that IPv4 host reservation with options can have the global
+/// @brief Verifies that IPv4 host reservation with options can have the global
 /// subnet id value
 TEST_F(MySqlHostDataSourceTest, globalSubnetId4MultiThreading) {
     MultiThreadingTest mt(true);
     testGlobalSubnetId4();
 }
 
-/// @brief Verifies that IPv6 host reservation with options can have the global
+/// @brief Verifies that IPv6 host reservation with options can have the global
 /// subnet id value
 TEST_F(MySqlHostDataSourceTest, globalSubnetId6) {
     testGlobalSubnetId6();
 }
 
-/// @brief Verifies that IPv6 host reservation with options can have the global
+/// @brief Verifies that IPv6 host reservation with options can have the global
 /// subnet id value
 TEST_F(MySqlHostDataSourceTest, globalSubnetId6MultiThreading) {
     MultiThreadingTest mt(true);
index 5e4c1816aea61521efa43a53a8499872af51456b..607151ab2eb2b6a1d6b373629cf176a42f04c368 100644 (file)
@@ -409,26 +409,26 @@ TEST_F(PgSqlHostDataSourceTest, basic4HWAddrMultiThreading) {
     testBasic4(Host::IDENT_HWADDR);
 }
 
-/// @brief Verifies that IPv4 host reservation with options can have the global
+/// @brief Verifies that IPv4 host reservation with options can have the global
 /// subnet id value
 TEST_F(PgSqlHostDataSourceTest, globalSubnetId4) {
     testGlobalSubnetId4();
 }
 
-/// @brief Verifies that IPv4 host reservation with options can have the global
+/// @brief Verifies that IPv4 host reservation with options can have the global
 /// subnet id value
 TEST_F(PgSqlHostDataSourceTest, globalSubnetId4MultiThreading) {
     MultiThreadingTest mt(true);
     testGlobalSubnetId4();
 }
 
-/// @brief Verifies that IPv6 host reservation with options can have the global
+/// @brief Verifies that IPv6 host reservation with options can have the global
 /// subnet id value
 TEST_F(PgSqlHostDataSourceTest, globalSubnetId6) {
     testGlobalSubnetId6();
 }
 
-/// @brief Verifies that IPv6 host reservation with options can have the global
+/// @brief Verifies that IPv6 host reservation with options can have the global
 /// subnet id value
 TEST_F(PgSqlHostDataSourceTest, globalSubnetId6MultiThreading) {
     MultiThreadingTest mt(true);
index 871424ac8e95b01007b7d9e938945b831a5916a5..4ce008edb6cbf83749494789df2f3d0ab2147f0f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2015,2021 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -95,7 +95,7 @@ TEST_F(Rdata_NAPTR_Test, badText) {
     // Order or preference cannot be missed
     EXPECT_THROW(const NAPTR naptr("10 \"S\" SIP \"\" _sip._udp.example.com."),
                  InvalidRdataText);
-    // Unquoted fields must be seperated by spaces
+    // Unquoted fields must be separated by spaces
     EXPECT_THROW(const NAPTR naptr("100 10S SIP \"\" _sip._udp.example.com."),
                  InvalidRdataText);
     EXPECT_THROW(const NAPTR naptr("10010 \"S\" \"SIP\" \"\" _sip._udp.example.com."),
index fa51caa9103c8a41992616c0fd094c602832b06f..b4ddf1ddc6b8f944a7e5b3fc3a45e665e8d8dff7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2018,2021 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -201,7 +201,7 @@ private:
     /// If the next_state is HTTP_PARSE_OK_ST it indicates that the parsed
     /// value is a 3rd new line within request HTTP message. In this case the
     /// handler calls @ref HttpRequest::create to validate the received message
-    /// (excluding body). The hander then reads the "Content-Length" header to
+    /// (excluding body). The handler then reads the "Content-Length" header to
     /// check if the request contains a body. If the "Content-Length" is greater
     /// than zero, the parser transitions to HTTP_BODY_ST. If the
     /// "Content-Length" doesn't exist the parser transitions to
index 5284cab9cbdd436dc2ce398a4a82f92d10715659..056a7e452879e357650d14ed9b5ef8a2cb07011f 100644 (file)
@@ -140,7 +140,7 @@ associated with it (e.g. "unable to open %1 for input"), after which it
 substitutes any message parameters (in this example, the name of the file
 where the write operation failed) and logs the result to the destination.
 
-In Kea, the default text for each message is linked into the
+In Kea, the default text for each message is linked into the
 program.  Each program is able to read a locally-defined message file
 when it starts, updating the stored definitions with site-specific text.
 When the message is logged, the updated text is output. However, the
index 940e1deeaebf476063639cb377d825ea2c2666c1..8d166e3af61544184b28daaca73c825087dde829 100644 (file)
@@ -135,7 +135,7 @@ struct PsqlBindArray {
     /// @param byte the one byte value to add.
     void add(const uint8_t& byte);
 
-    /// @brief Adds the given IOAddress value to the bind array.
+    /// @brief Adds the given IOAddress value to the bind array.
     ///
     /// Converts the IOAddress, based on its protocol family, to the
     /// corresponding string literal and adds it as a TEXT_FMT value to
@@ -145,7 +145,7 @@ struct PsqlBindArray {
     /// @param addr IP address value to add.
     void add(const isc::asiolink::IOAddress& addr);
 
-    /// @brief Adds the given value to the bind array.
+    /// @brief Adds the given value to the bind array.
     ///
     /// Converts the given value to its corresponding string literal
     /// boost::lexical_cast and adds it as a TEXT_FMT value to the bind array.
@@ -158,7 +158,7 @@ struct PsqlBindArray {
         addTempString(boost::lexical_cast<std::string>(value));
     }
 
-    /// @brief Binds the given string to the bind array.
+    /// @brief Binds the given string to the bind array.
     ///
     /// Prior to add the given string the vector of exchange values,
     /// it duplicated as a ConstStringPtr and saved internally.  This guarantees
@@ -170,7 +170,7 @@ struct PsqlBindArray {
 
     /// @brief Adds a NULL value to the bind array
     ///
-    /// This should be used whenever the value for a parameter specified
+    /// This should be used whenever the value for a parameter specified
     /// in the SQL statement should be NULL.
     void addNull(const int format = PsqlBindArray::TEXT_FMT);
 
index 6d92e8463ba991ccd4924597ff827a55a543cf56..5c9b4260fa40983728b5415f5b2e3a152cac89b3 100644 (file)
@@ -18,7 +18,7 @@
 namespace isc {
 namespace process {
 
-/// @brief Exception thrown when the PID file points to a live PID
+/// @brief Exception thrown when the PID file points to a live PID
 class DaemonPIDExists : public Exception {
 public:
     DaemonPIDExists(const char* file, size_t line, const char* what) :
index 4b48853d1f93447ad01a4e9ce2d5ec33260eab5b..a14b677fa35088562c9c6b90775d32ee2db41d1b 100644 (file)
@@ -34,7 +34,7 @@ isRangeZero(Iterator begin, Iterator end) {
 /// @brief Fill in specified range with a random data.
 ///
 /// Make sure that random number generator is initialized
-/// properly. Otherwise you will get the same pseudo-random sequence
+/// properly. Otherwise you will get the same pseudo-random sequence
 /// after every start of your process.  Calling srand() is enough. This
 /// method uses default rand(), which is usually a LCG pseudo-random
 /// number generator, so it is not suitable for security