]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1428] Make test class destructor virtual
authorMarcin Siodelski <marcin@isc.org>
Fri, 9 Oct 2020 13:51:01 +0000 (15:51 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 9 Oct 2020 13:51:01 +0000 (15:51 +0200)
Also, committed regenerated dhcpsrv_messages.[cc|h].

src/lib/dhcpsrv/dhcpsrv_messages.cc
src/lib/dhcpsrv/dhcpsrv_messages.h
src/lib/dhcpsrv/tests/cb_ctl_dhcp_unittest.cc

index 9d4fc808173459d0b504b6e2e8b7aba4163324ee..46003749f1348b1a6374aadab6d1049684c16dae 100644 (file)
@@ -1,4 +1,4 @@
-// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Wed Oct 07 2020 19:01
+// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Fri Oct 09 2020 13:08
 
 #include <cstddef>
 #include <log/message_types.h>
@@ -269,8 +269,8 @@ const char* values[] = {
     "DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED", "dhcp-ddns:%1 is deprecated, moving it to global:%2",
     "DHCPSRV_CFGMGR_DEL_SUBNET4", "IPv4 subnet %1 removed",
     "DHCPSRV_CFGMGR_DEL_SUBNET6", "IPv6 subnet %1 removed",
-    "DHCPSRV_CFGMGR_IPV4_RESERVATIONS_NON_UNIQUE_IGNORED", "ignoring \"ip-reservations-unique\" setting because at least one of the host database backends does not support non unique IP reservations",
-    "DHCPSRV_CFGMGR_IPV6_RESERVATIONS_NON_UNIQUE_IGNORED", "ignoring \"ip-reservations-unique\" setting because at least one of the host database backends does not support non unique IP reservations",
+    "DHCPSRV_CFGMGR_IPV4_RESERVATIONS_NON_UNIQUE_IGNORED", "ignoring \"ip-reservations-unique\" setting because at least one of the host database backends does not support non unique IP reservations in a subnet",
+    "DHCPSRV_CFGMGR_IPV6_RESERVATIONS_NON_UNIQUE_IGNORED", "ignoring \"ip-reservations-unique\" setting because at least one of the host database backends does not support non unique IP reservations in a subnet",
     "DHCPSRV_CFGMGR_IP_RESERVATIONS_UNIQUE_DUPLICATES_POSSIBLE", "setting \"ip-reservations-unique\" from false to true poses a risk that some host backends may still contain multiple reservations for the same IP address",
     "DHCPSRV_CFGMGR_NEW_SUBNET4", "a new subnet has been added to configuration: %1",
     "DHCPSRV_CFGMGR_NEW_SUBNET6", "a new subnet has been added to configuration: %1",
index 81f24a2680ffdbe62212ead0dca8273f5d30754c..faa28fa1969d9c2ec3ffd81ef2851d12eacff73a 100644 (file)
@@ -1,4 +1,4 @@
-// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Wed Oct 07 2020 19:01
+// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Fri Oct 09 2020 13:08
 
 #ifndef DHCPSRV_MESSAGES_H
 #define DHCPSRV_MESSAGES_H
index 6a6c1d4c00385aa37370d7c3e735e442de14a43f..28be1e1ab6f565eab014f4a0ba9f8c5ca54859d2 100644 (file)
@@ -41,6 +41,9 @@ namespace {
 class NonUniqueHostDataSource : public MemHostDataSource {
 public:
 
+    /// @brief Virtual destructor.
+    virtual ~NonUniqueHostDataSource() {}
+
     /// @brief Configure unique/non-unique IP reservations.
     ///
     /// @return Always false.