summaryrefslogtreecommitdiffstats
path: root/src/bin/auth/main.cc
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2013-07-09 14:58:23 +0200
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2013-07-12 11:43:00 +0200
commitef523ea6235d16e0676d0263c964570134a59750 (patch)
tree60583e2f52789937de72325008663cf6d7a9a087 /src/bin/auth/main.cc
parent[2862] Subscribe in case of remote segment (diff)
downloadkea-ef523ea6235d16e0676d0263c964570134a59750.tar.xz
kea-ef523ea6235d16e0676d0263c964570134a59750.zip
[2862] Scan for remote segments after reconfiguration
Diffstat (limited to 'src/bin/auth/main.cc')
-rw-r--r--src/bin/auth/main.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc
index dc03be2614..991059b209 100644
--- a/src/bin/auth/main.cc
+++ b/src/bin/auth/main.cc
@@ -109,9 +109,11 @@ datasrcConfigHandler(AuthSrv* server, bool* first_time,
assert(config_session != NULL);
*first_time = false;
server->getDataSrcClientsMgr().reconfigure(
- config_session->getRemoteConfigValue("data_sources", "classes"));
+ config_session->getRemoteConfigValue("data_sources", "classes"),
+ boost::bind(&AuthSrv::listsReconfigured, server));
} else if (config->contains("classes")) {
- server->getDataSrcClientsMgr().reconfigure(config->get("classes"));
+ server->getDataSrcClientsMgr().reconfigure(config->get("classes"),
+ boost::bind(&AuthSrv::listsReconfigured, server));
}
}