]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5075] Addressed review comments and removed spurious += from Makefile.
authorMarcin Siodelski <marcin@isc.org>
Mon, 19 Dec 2016 10:07:17 +0000 (11:07 +0100)
committerMarcin Siodelski <marcin@isc.org>
Mon, 19 Dec 2016 10:07:17 +0000 (11:07 +0100)
src/bin/agent/ctrl_agent_cfg_mgr.h
src/bin/agent/ctrl_agent_process.cc
src/bin/agent/kea-ctrl-agent.xml
src/bin/agent/tests/Makefile.am
src/bin/agent/tests/ctrl_agent_controller_unittests.cc

index f8248210347f08b1db72f44612fc272684ca6085..ebe9ccefcc1e0ffe826402b3a23db686c1a685f2 100644 (file)
@@ -8,6 +8,7 @@
 #define CTRL_AGENT_CFG_MGR_H
 
 #include <process/d_cfg_mgr.h>
+#include <boost/pointer_cast.hpp>
 
 namespace isc {
 namespace agent {
@@ -81,7 +82,7 @@ protected:
     virtual isc::dhcp::ParserPtr
     createConfigParser(const std::string& element_id,
                        const isc::data::Element::Position& pos
-                       = isc::data::Element::Position());
+                       = isc::data::Element::ZERO_POSITION());
 
     /// @brief Creates a new, blank CtrlAgentCfgContext context.
     ///
index 5b58588ccd02a694ef5e4c07ba0c25170ea9da67..8674f574a0e68deb373f501243c5a4d5d460f67a 100644 (file)
@@ -8,6 +8,7 @@
 #include <agent/ctrl_agent_process.h>
 #include <agent/ctrl_agent_log.h>
 #include <cc/command_interpreter.h>
+#include <boost/pointer_cast.hpp>
 
 using namespace isc::process;
 
index f7f6560700ceccddd9836e376a6baed96170f863..492a6e693f04c9b80a9e8ada2177db09a63389ac 100644 (file)
@@ -2,7 +2,7 @@
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
                [<!ENTITY mdash "&#8212;">]>
 <!--
- - Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+ - Copyright (C) 2016 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
@@ -62,7 +62,7 @@
     <para>
       The <command>kea-ctrl-agent</command> provides a REST service for
       controlling Kea services. The received HTTP requests are decapsulated
-      and forwarded to the respective Kea services as JSON strings. Received
+      and forwarded to the respective Kea services in JSON format. Received
       JSON responses are encapsulated within HTTP responses and returned to
       the controlling entity. Some commands may be handled by the Control
       Agent directly, and not forwarded to any Kea service.
index 2efa4ab448cdfa210d6bd2f9b0d2916ab109d350..a6116339fc7550809f94f8d7d5030fd59dd7b1d3 100644 (file)
@@ -56,13 +56,13 @@ ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/process/libkea-process.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/dhcpsrv/libkea-dhcpsrv.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/eval/libkea-eval.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/dhcp_ddns/libkea-dhcp_ddns.la
-ctrl_agent_unittests_LDADD += += $(top_builddir)/src/lib/stats/libkea-stats.la
+ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/stats/libkea-stats.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/config/libkea-cfgclient.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/dhcp/libkea-dhcp++.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/asiolink/libkea-asiolink.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/cc/libkea-cc.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/dns/libkea-dns++.la
-ctrl_agent_unittests_LDADD += += $(top_builddir)/src/lib/cryptolink/libkea-cryptolink.la
+ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/cryptolink/libkea-cryptolink.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/hooks/libkea-hooks.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/log/libkea-log.la
 ctrl_agent_unittests_LDADD += $(top_builddir)/src/lib/util/threads/libkea-threads.la
index 6ae9aa06b1b14ae6280348dadf43f71c925a7320..7ad86ca7276070fbfe8f771281052a9f62823b02 100644 (file)
@@ -8,6 +8,7 @@
 #include <agent/ctrl_agent_controller.h>
 #include <agent/ctrl_agent_process.h>
 #include <process/testutils/d_test_stubs.h>
+#include <boost/pointer_cast.hpp>
 
 using namespace isc::agent;
 using namespace isc::process;