]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2662] Added BLQ message types to getName
authorFrancis Dupont <fdupont@isc.org>
Wed, 14 Dec 2022 10:19:50 +0000 (11:19 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 14 Dec 2022 10:19:50 +0000 (11:19 +0100)
src/lib/dhcp/pkt6.cc

index b1814aae0ae0ae2742e86603732c532cf724c539..0154873b9f4d0edccac72a6309b045adde53c43e 100644 (file)
@@ -811,6 +811,8 @@ Pkt6::getName(const uint8_t type) {
     static const char* DECLINE = "DECLINE";
     static const char* INFORMATION_REQUEST = "INFORMATION_REQUEST";
     static const char* LEASEQUERY = "LEASEQUERY";
+    static const char* LEASEQUERY_DATA = "LEASEQUERY_DATA";
+    static const char* LEASEQUERY_DONE = "LEASEQUERY_DONE";
     static const char* LEASEQUERY_REPLY = "LEASEQUERY_REPLY";
     static const char* REBIND = "REBIND";
     static const char* RECONFIGURE = "RECONFIGURE";
@@ -841,6 +843,12 @@ Pkt6::getName(const uint8_t type) {
     case DHCPV6_LEASEQUERY:
         return (LEASEQUERY);
 
+    case DHCPV6_LEASEQUERY_DATA:
+        return (LEASEQUERY_DATA);
+
+    case DHCPV6_LEASEQUERY_DONE:
+        return (LEASEQUERY_DONE);
+
     case DHCPV6_LEASEQUERY_REPLY:
         return (LEASEQUERY_REPLY);