]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4316] More typo fixes
authorAndrei Pavel <andrei@isc.org>
Tue, 27 Jan 2026 08:55:25 +0000 (10:55 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 2 Feb 2026 09:13:43 +0000 (11:13 +0200)
src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc
src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc
src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc
src/hooks/dhcp/mysql/mysql_lb_messages.mes
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc
src/lib/tcp/tcp_client.cc

index e97c1f98ffd9dce455055275135183e601c12a0b..b062e11ee4057667577e468f3bd6a859326cd48e 100644 (file)
@@ -1381,7 +1381,7 @@ TEST_F(HAImplTest, leases4CommittedMultipleRelationshipsNoServerName) {
     EXPECT_EQ(CalloutHandle::NEXT_STEP_DROP, callout_handle->getStatus());
     EXPECT_TRUE(callout_handle->getParkingLotHandlePtr()->drop(query4));
 
-    // Drop statistics should have beeb increased.
+    // Drop statistics should have been increased.
     EXPECT_EQ(1, getStatistic("pkt4-not-for-us"));
     EXPECT_EQ(1, getStatistic("pkt4-receive-drop"));
 }
@@ -1441,7 +1441,7 @@ TEST_F(HAImplTest, leases4CommittedMultipleRelationshipsInvalidServerName) {
     EXPECT_EQ(CalloutHandle::NEXT_STEP_DROP, callout_handle->getStatus());
     EXPECT_TRUE(callout_handle->getParkingLotHandlePtr()->drop(query4));
 
-    // Drop statistics should have beeb increased.
+    // Drop statistics should have been increased.
     EXPECT_EQ(1, getStatistic("pkt4-not-for-us"));
     EXPECT_EQ(1, getStatistic("pkt4-receive-drop"));
 }
@@ -1646,7 +1646,7 @@ TEST_F(HAImplTest, leases6CommittedMultipleRelationshipsNoServerName) {
     EXPECT_EQ(CalloutHandle::NEXT_STEP_DROP, callout_handle->getStatus());
     EXPECT_TRUE(callout_handle->getParkingLotHandlePtr()->drop(query6));
 
-    // Drop statistics should have beeb increased.
+    // Drop statistics should have been increased.
     EXPECT_EQ(1, getStatistic("pkt6-not-for-us"));
     EXPECT_EQ(1, getStatistic("pkt6-receive-drop"));
 }
@@ -1705,7 +1705,7 @@ TEST_F(HAImplTest, leases6CommittedMultipleRelationshipsInvalidServerName) {
     EXPECT_EQ(CalloutHandle::NEXT_STEP_DROP, callout_handle->getStatus());
     EXPECT_TRUE(callout_handle->getParkingLotHandlePtr()->drop(query6));
 
-    // Drop statistics should have beeb increased.
+    // Drop statistics should have been increased.
     EXPECT_EQ(1, getStatistic("pkt6-not-for-us"));
     EXPECT_EQ(1, getStatistic("pkt6-receive-drop"));
 }
index 3a69d565f11ff8a8c3d6146100ed37c9ca0191ef..9b011f96b4632e7766cf32807d0fd13c77ba8872 100644 (file)
@@ -310,7 +310,7 @@ public:
     void testLease4GetByStateFind2();
 
     /// @brief Check that lease4-get-by-state works as expected (try all
-    /// combinaisons).
+    /// combinations).
     void testLease4GetByStateFindN();
 
     /// @brief Check that lease4-get-by-hostname can handle a situation when
index 5919790f92391cd2160ff47304be21f1d6e8c008..8226c5736263aaed0304ff366cecf6561a02889f 100644 (file)
@@ -338,7 +338,7 @@ public:
     void testLease6GetByStateFind2();
 
     /// @brief Check that lease6-get-by-state works as expected (try all
-    /// combinaisons).
+    /// combinations).
     void testLease6GetByStateFindN();
 
     /// @brief Check that lease6-get-by-hostname can handle a situation when
index d3c5bf7f8fa5c49e38f7a58126840fba2ca0bcdb..0318b2206a8b47f0ef5a041c73e8d4e9ea6c6cf1 100644 (file)
@@ -266,7 +266,7 @@ TLS is not used.
 
 % MYSQL_LB_ROLLBACK rolling back MySQL database
 Logged at debug log level 50.
-The code has issued a rollback call. All outstanding transaction will
+The code has issued a rollback call. All outstanding transactions will
 be rolled back and not committed to the database.
 
 % MYSQL_LB_TLS_CIPHER TLS cipher: %1
index b42df98598d3fb08add4d79b837cf0474a939c22..4edaf2985918ad681bf866b1db826d44079985ec 100644 (file)
@@ -1098,7 +1098,7 @@ public:
     virtual isc::data::ConstElementPtr lfcStartHandler();
 
 
-    /// @brief Update in-memoery stats when adding a v4 lease.
+    /// @brief Update in-memory stats when adding a v4 lease.
     ///
     /// @param lease Added lease.
     static void updateStatsOnAdd(const Lease4Ptr& lease);
index b7be7d13a209201269186af4dbc258338eb3df72..1f192489f65c959aea2f34e19633173a0c548bc7 100644 (file)
@@ -3741,7 +3741,7 @@ Memfile_LeaseMgr::writeLeases4Internal(const std::string& filename) {
     auto tmpname = tmp.str();
     ::remove(tmpname.c_str());
 
-    // Dump in memory leasses to temp file.
+    // Dump in memory leases to temp file.
     try {
         CSVLeaseFile4 tmpfile(tmpname);
         tmpfile.open();
@@ -3797,7 +3797,7 @@ Memfile_LeaseMgr::writeLeases6Internal(const std::string& filename) {
     auto tmpname = tmp.str();
     ::remove(tmpname.c_str());
 
-    // Dump in memory leasses to temp file.
+    // Dump in memory leases to temp file.
     try {
         CSVLeaseFile6 tmpfile(tmpname);
         tmpfile.open();
index 9344c7a25c0ffc40ba02d53ba1cc14cd5e496683..371cc418882abdff7275a926c4308fe0a5803aab 100644 (file)
@@ -5166,7 +5166,7 @@ GenericLeaseMgrTest::testUpdateStatsOn4SameSubnet() {
 
 // This test is sort of BS. How does an updated lease move to
 // a new subnet without changing lease address, other than
-// if the lesae is being manually fixed after config change
+// if the lease is being manually fixed after config change
 // altered subnets and pool.
 void
 GenericLeaseMgrTest::testUpdateStatsOn4DifferentSubnet() {
index f5348cf63ac23658bd264f1453b413227b772b0d..06454db52429e383e66d86f5b7a24355daeebb88 100644 (file)
@@ -433,7 +433,7 @@ private:
     /// @brief Holds pointer to an object where response is to be stored.
     WireDataPtr current_response_;
 
-    /// @brief Hould persistent flag.
+    /// @brief Holds persistent flag.
     bool current_persistent_;
 
     /// @brief Response complete flag.
@@ -871,7 +871,7 @@ private:
             : address_(address), port_(port), tls_context_(tls_context) {
         }
 
-        // Mmebers.
+        // Members.
         IOAddress address_;
         uint16_t port_;
         TlsContextPtr tls_context_;