summaryrefslogtreecommitdiffstats
path: root/src/bin/netconf/netconf_process.cc
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2023-02-26 16:23:40 +0100
committerRazvan Becheriu <razvan@isc.org>2023-03-16 20:26:11 +0100
commitdb352cc04cf99e5b877d02f87eaa8dbe2bc82f10 (patch)
treef711d6316cebe9b2e0c37bd46ecf7efea0488c6f /src/bin/netconf/netconf_process.cc
parent[#2722] always perform config check before config set (diff)
downloadkea-db352cc04cf99e5b877d02f87eaa8dbe2bc82f10.tar.xz
kea-db352cc04cf99e5b877d02f87eaa8dbe2bc82f10.zip
[#2722] config set follows the same path as config test and can rollback
Diffstat (limited to 'src/bin/netconf/netconf_process.cc')
-rw-r--r--src/bin/netconf/netconf_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/netconf/netconf_process.cc b/src/bin/netconf/netconf_process.cc
index eafc036108..c4a6b756e3 100644
--- a/src/bin/netconf/netconf_process.cc
+++ b/src/bin/netconf/netconf_process.cc
@@ -75,7 +75,7 @@ NetconfProcess::runIO() {
isc::data::ConstElementPtr
NetconfProcess::shutdown(isc::data::ConstElementPtr /*args*/) {
setShutdownFlag(true);
- return (isc::config::createAnswer(0, "Netconf is shutting down"));
+ return (isc::config::createAnswer(CONTROL_RESULT_SUCCESS, "Netconf is shutting down"));
}
isc::data::ConstElementPtr