From: Andrei Pavel Date: Tue, 27 Jan 2026 08:55:25 +0000 (+0200) Subject: [#4316] More typo fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f577c02c1c4cb03fcce1af824ab8ee977ec058;p=thirdparty%2Fkea.git [#4316] More typo fixes --- diff --git a/src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc b/src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc index e97c1f98ff..b062e11ee4 100644 --- a/src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc +++ b/src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc @@ -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")); } diff --git a/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc b/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc index 3a69d565f1..9b011f96b4 100644 --- a/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc +++ b/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc @@ -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 diff --git a/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc b/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc index 5919790f92..8226c57362 100644 --- a/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc +++ b/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc @@ -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 diff --git a/src/hooks/dhcp/mysql/mysql_lb_messages.mes b/src/hooks/dhcp/mysql/mysql_lb_messages.mes index d3c5bf7f8f..0318b2206a 100644 --- a/src/hooks/dhcp/mysql/mysql_lb_messages.mes +++ b/src/hooks/dhcp/mysql/mysql_lb_messages.mes @@ -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 diff --git a/src/lib/dhcpsrv/lease_mgr.h b/src/lib/dhcpsrv/lease_mgr.h index b42df98598..4edaf29859 100644 --- a/src/lib/dhcpsrv/lease_mgr.h +++ b/src/lib/dhcpsrv/lease_mgr.h @@ -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); diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.cc b/src/lib/dhcpsrv/memfile_lease_mgr.cc index b7be7d13a2..1f192489f6 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.cc +++ b/src/lib/dhcpsrv/memfile_lease_mgr.cc @@ -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(); diff --git a/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc b/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc index 9344c7a25c..371cc41888 100644 --- a/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/testutils/generic_lease_mgr_unittest.cc @@ -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() { diff --git a/src/lib/tcp/tcp_client.cc b/src/lib/tcp/tcp_client.cc index f5348cf63a..06454db524 100644 --- a/src/lib/tcp/tcp_client.cc +++ b/src/lib/tcp/tcp_client.cc @@ -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_;