From: Francis Dupont Date: Tue, 9 Jul 2019 15:11:58 +0000 (+0200) Subject: [716-mysql_cb-extend-the-backend-with-the-ability-to-associate-the-shared-networks... X-Git-Tag: Kea-1.6.0-beta2~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05e68bcc3285495830ac160c31285fafb41e1d81;p=thirdparty%2Fkea.git [716-mysql_cb-extend-the-backend-with-the-ability-to-associate-the-shared-networks-with-the-server-tags] spelling --- diff --git a/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc b/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc index 18fa0c924c..cb95b16946 100644 --- a/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc +++ b/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc @@ -1891,7 +1891,7 @@ public: /// option definitions. /// /// This function is called when one or more servers are deleted and - /// it is likely that there are some orhpaned configuration elements + /// it is likely that there are some orphaned configuration elements /// left in the database. This method removes those elements. void purgeUnassignedConfig() { multipleUpdateDeleteQueries(DELETE_ALL_GLOBAL_PARAMETERS4_UNASSIGNED, diff --git a/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc b/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc index c686572ed5..c65e2cd8d8 100644 --- a/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc +++ b/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc @@ -2210,7 +2210,7 @@ public: /// option definitions. /// /// This function is called when one or more servers are deleted and - /// it is likely that there are some orhpaned configuration elements + /// it is likely that there are some orphaned configuration elements /// left in the database. This method removes those elements. void purgeUnassignedConfig() { multipleUpdateDeleteQueries(DELETE_ALL_GLOBAL_PARAMETERS6_UNASSIGNED, diff --git a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc index f1ab1bf323..e48f0318cd 100644 --- a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc +++ b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc @@ -2085,7 +2085,7 @@ TEST_F(MySqlConfigBackendDHCPv4Test, unassignedSharedNetwork) { ); // Delete the server. The shared networks should be preserved but are - // considered orhpaned, i.e. do not belong to any server. + // considered orphaned, i.e. do not belong to any server. uint64_t deleted_count = 0; EXPECT_NO_THROW(deleted_count = cbptr_->deleteServer4(ServerTag("server1"))); EXPECT_EQ(1, deleted_count); diff --git a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc index c7b31656ef..aa1ba0313e 100644 --- a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc +++ b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc @@ -2101,7 +2101,7 @@ TEST_F(MySqlConfigBackendDHCPv6Test, unassignedSharedNetwork) { ); // Delete the server. The shared networks should be preserved but are - // considered orhpaned, i.e. do not belong to any server. + // considered orphaned, i.e. do not belong to any server. uint64_t deleted_count = 0; EXPECT_NO_THROW(deleted_count = cbptr_->deleteServer6(ServerTag("server1"))); EXPECT_EQ(1, deleted_count);