]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[716-mysql_cb-extend-the-backend-with-the-ability-to-associate-the-shared-networks...
authorFrancis Dupont <fdupont@isc.org>
Tue, 9 Jul 2019 15:11:58 +0000 (17:11 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 9 Jul 2019 18:37:29 +0000 (14:37 -0400)
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc

index 18fa0c924c13cc17db0479dd2cb34a4cb77ecf78..cb95b16946bca4ebfea247d0a27ad3e966fac4f8 100644 (file)
@@ -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,
index c686572ed52379a7990c5060a908a166f2deb38c..c65e2cd8d8c3c9aa7d2dac597c05969085acd89d 100644 (file)
@@ -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,
index f1ab1bf3239725e3a580f1b4f6c1ea23dc732f9e..e48f0318cdcb994fc9a68853f39693e902519e81 100644 (file)
@@ -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);
index c7b31656ef8b2251e1fb99b2c8d5bd1396e995b4..aa1ba0313e2ce837aee27e03fe049ca77c28a19f 100644 (file)
@@ -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);