]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3451] Correct mistypings
authorAndrei Pavel <andrei@isc.org>
Fri, 24 Oct 2025 10:56:53 +0000 (13:56 +0300)
committerAndrei Pavel <andrei@isc.org>
Sun, 26 Oct 2025 16:58:23 +0000 (18:58 +0200)
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc

index 196c7eedaf6673a6cda20880285d2ac26393fbc1..1334052140ae415a0849e5614dc26fe43e77aca5 100644 (file)
@@ -1846,14 +1846,15 @@ TEST_F(CtrlChannelDhcpv6SrvTest, configReloadLFCRunning) {
         "        { \"subnet\": \"2001:db8:2::/64\", \"id\": 2 }"
         "     ],"
         "    \"lease-database\": {"
+        "       \"type\": \"memfile\", \"persist\": false }"
         "} }";
     ofstream f("test8.json", ios::trunc);
     f << cfg_txt;
     f.close();
 
-    // Creuate the backend configuration.
+    // Create the backend configuration.
     DatabaseConnection::ParameterMap pmap;
-    pmap["teype"] = "memfile";
+    pmap["type"] = "memfile";
     pmap["universe"] = "6";
     pmap["name"] = getLeaseFilePath("kea-leases6.csv");
     pmap["lfc-interval"] = "1";