From d3eda7f2f9cd6e754a5f778bb8c20b052dcf9a61 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Mon, 30 Sep 2019 13:53:40 -0400 Subject: [#35,!517] Added function to move of DDNS cfg elements to global scope to SrvConfig src/lib/dhcpsrv/dhcpsrv_messages.* DHCPSRV_CFGMGR_DDNS_PARAMETER_IGNORED DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED src/lib/dhcpsrv/srv_config.* SrvConfig::moveDdnsParams() - new method to move parameters from dhcp-ddns to configured globals. src/lib/dhcpsrv/tests/srv_config_unittest.cc TEST_F(SrvConfigTest, moveDdnsParamsTest) - new test --- src/lib/dhcpsrv/dhcpsrv_messages.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/dhcpsrv/dhcpsrv_messages.h') diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.h index effc486d09..79e8c072be 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 Fri Jun 21 2019 16:14 +// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Mon Sep 30 2019 13:41 #ifndef DHCPSRV_MESSAGES_H #define DHCPSRV_MESSAGES_H @@ -17,6 +17,8 @@ extern const isc::log::MessageID DHCPSRV_CFGMGR_CLEAR_ACTIVE_IFACES; extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIG4_MERGED; extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIG6_MERGED; extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIGURE_SERVERID; +extern const isc::log::MessageID DHCPSRV_CFGMGR_DDNS_PARAMETER_IGNORED; +extern const isc::log::MessageID DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED; extern const isc::log::MessageID DHCPSRV_CFGMGR_DEL_SUBNET4; extern const isc::log::MessageID DHCPSRV_CFGMGR_DEL_SUBNET6; extern const isc::log::MessageID DHCPSRV_CFGMGR_NEW_SUBNET4; -- cgit v1.2.3