From: Francis Dupont Date: Sun, 22 Nov 2020 14:29:06 +0000 (+0100) Subject: [#1461] Added references to config_report X-Git-Tag: Kea-1.9.3~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e83f3af91b154da6779d33a29a0c7791d014304;p=thirdparty%2Fkea.git [#1461] Added references to config_report --- diff --git a/src/bin/agent/ca_controller.cc b/src/bin/agent/ca_controller.cc index 121458f994..f8408315b4 100644 --- a/src/bin/agent/ca_controller.cc +++ b/src/bin/agent/ca_controller.cc @@ -10,6 +10,7 @@ #include #include #include +#include #include using namespace isc::process; @@ -105,5 +106,8 @@ CtrlAgentController::getCtrlAgentProcess() { return (boost::dynamic_pointer_cast(getProcess())); } +// Refer to config_report so it will be embedded in the binary. +const char* const* ca_config_report = isc::detail::config_report; + } // namespace isc::agent } // namespace isc diff --git a/src/bin/d2/d2_controller.cc b/src/bin/d2/d2_controller.cc index ef3d9017d5..dc31b552b7 100644 --- a/src/bin/d2/d2_controller.cc +++ b/src/bin/d2/d2_controller.cc @@ -6,6 +6,7 @@ #include +#include #include #include #include @@ -122,6 +123,9 @@ D2Controller::parseFile(const std::string& file_name) { D2Controller::~D2Controller() { } +// Refer to config_report so it will be embedded in the binary. +const char* const* d2_config_report = isc::detail::config_report; + std::string D2Controller::getVersionAddendum() { std::stringstream stream; diff --git a/src/bin/netconf/netconf_controller.cc b/src/bin/netconf/netconf_controller.cc index c3abc47206..b55f0b4b04 100644 --- a/src/bin/netconf/netconf_controller.cc +++ b/src/bin/netconf/netconf_controller.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -6,6 +6,7 @@ #include +#include #include #include #include @@ -68,5 +69,8 @@ NetconfController::getNetconfProcess() { return (boost::dynamic_pointer_cast(getProcess())); } +// Refer to config_report so it will be embedded in the binary. +static const char* const* netconf_config_report = isc::detail::config_report; + } // namespace isc::netconf } // namespace isc