From: Marcin Siodelski Date: Fri, 9 Oct 2020 13:51:01 +0000 (+0200) Subject: [#1428] Make test class destructor virtual X-Git-Tag: Kea-1.9.1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cab65b442e8e003a8e2f4d0448e251e95eb03f;p=thirdparty%2Fkea.git [#1428] Make test class destructor virtual Also, committed regenerated dhcpsrv_messages.[cc|h]. --- diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.cc b/src/lib/dhcpsrv/dhcpsrv_messages.cc index 9d4fc80817..46003749f1 100644 --- a/src/lib/dhcpsrv/dhcpsrv_messages.cc +++ b/src/lib/dhcpsrv/dhcpsrv_messages.cc @@ -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 #include @@ -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", diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.h index 81f24a2680..faa28fa196 100644 --- a/src/lib/dhcpsrv/dhcpsrv_messages.h +++ b/src/lib/dhcpsrv/dhcpsrv_messages.h @@ -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 diff --git a/src/lib/dhcpsrv/tests/cb_ctl_dhcp_unittest.cc b/src/lib/dhcpsrv/tests/cb_ctl_dhcp_unittest.cc index 6a6c1d4c00..28be1e1ab6 100644 --- a/src/lib/dhcpsrv/tests/cb_ctl_dhcp_unittest.cc +++ b/src/lib/dhcpsrv/tests/cb_ctl_dhcp_unittest.cc @@ -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.