summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp6/ctrl_dhcp6_srv.cc
diff options
context:
space:
mode:
authorStephen Morris <stephen@isc.org>2013-08-13 14:14:38 +0200
committerStephen Morris <stephen@isc.org>2013-08-13 14:14:38 +0200
commit578910f51f1dc96876a67a02d353c396cc4d2ec8 (patch)
tree28ade5a01676bdbf654c11906a218596d875525e /src/bin/dhcp6/ctrl_dhcp6_srv.cc
parent[2981] Final modifications before review (diff)
downloadkea-578910f51f1dc96876a67a02d353c396cc4d2ec8.tar.xz
kea-578910f51f1dc96876a67a02d353c396cc4d2ec8.zip
[2981] Changes as a result of review.
Diffstat (limited to 'src/bin/dhcp6/ctrl_dhcp6_srv.cc')
-rw-r--r--src/bin/dhcp6/ctrl_dhcp6_srv.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/dhcp6/ctrl_dhcp6_srv.cc b/src/bin/dhcp6/ctrl_dhcp6_srv.cc
index 0d07d8b253..7168b91f8b 100644
--- a/src/bin/dhcp6/ctrl_dhcp6_srv.cc
+++ b/src/bin/dhcp6/ctrl_dhcp6_srv.cc
@@ -145,13 +145,14 @@ ControlledDhcpv6Srv::dhcp6CommandHandler(const string& command, ConstElementPtr
ConstElementPtr answer = isc::config::createAnswer(0,
"Shutting down.");
return (answer);
+
} else if (command == "libreload") {
// TODO delete any stored CalloutHandles referring to the old libraries
// Get list of currently loaded libraries and reload them.
vector<string> loaded = HooksManager::getLibraryNames();
bool status = HooksManager::loadLibraries(loaded);
if (!status) {
- LOG_ERROR(dhcp6_logger, DHCP6_RELOAD_FAIL);
+ LOG_ERROR(dhcp6_logger, DHCP6_HOOKS_LIBS_RELOAD_FAIL);
ConstElementPtr answer = isc::config::createAnswer(1,
"Failed to reload hooks libraries.");
return (answer);