]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2260] Fixed first item
authorFrancis Dupont <fdupont@isc.org>
Tue, 30 Jun 2026 08:32:00 +0000 (10:32 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 10 Jul 2026 10:39:15 +0000 (12:39 +0200)
src/hooks/dhcp/lease_cmds/lease_cmds.cc
src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc
src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc

index 473d85506e95cd166c2b135ac92d55df70c36898..f43a1d70d1d67abd26b7d756ea913a1583e3ad0f 100644 (file)
@@ -103,7 +103,7 @@ public:
             } else {
                 isc_throw(BadValue, "Incorrect identifier type: "
                           << txt << ", the only supported values are: "
-                          "address, hw-address, duid");
+                          "address, hw-address, duid, client-id");
             }
         }
 
index 4e98b464f9aa6123608101ea7e1a1d0e4e5c8f4c..680b69726552843aaecef6df57c38bd9dc0bfa34 100644 (file)
@@ -1221,7 +1221,7 @@ void Lease4CmdsTest::testLease4GetMissingParams() {
         "    }\n"
         "}";
     exp_rsp = "Incorrect identifier type: color, the only supported values are: "
-        "address, hw-address, duid";
+        "address, hw-address, duid, client-id";
     testCommand(cmd, CONTROL_RESULT_ERROR, exp_rsp);
 
     // Query by DUID is not supported in v4. Sorry.
@@ -2911,7 +2911,7 @@ void Lease4CmdsTest::testLease4DelMissingParams() {
         "    }\n"
         "}";
     exp_rsp = "Incorrect identifier type: color, the only supported values are: "
-        "address, hw-address, duid";
+        "address, hw-address, duid, client-id";
     testCommand(cmd, CONTROL_RESULT_ERROR, exp_rsp);
 
     // Query by DUID is not supported in v4. Sorry.
index 692bc2eac4d9bfe8806b4ade64209ad89f6e9a43..fd4ade3ac53d00499538cc42dfa6ab72c5a51912 100644 (file)
@@ -1474,7 +1474,7 @@ void Lease6CmdsTest::testLease6GetMissingParams() {
         "    }\n"
         "}";
     exp_rsp = "Incorrect identifier type: color, the only supported values are: "
-        "address, hw-address, duid";
+        "address, hw-address, duid, client-id";
     testCommand(cmd, CONTROL_RESULT_ERROR, exp_rsp);
 
     // Query by hw-address is not supported in v6. Sorry.
@@ -3350,7 +3350,7 @@ void Lease6CmdsTest::testLease6DelMissingParams() {
         "    }\n"
         "}";
     exp_rsp = "Incorrect identifier type: color, the only supported values are: "
-        "address, hw-address, duid";
+        "address, hw-address, duid, client-id";
     testCommand(cmd, CONTROL_RESULT_ERROR, exp_rsp);
 
     // Query by hw-address is not supported in v6. Sorry.