diff options
author | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2013-07-09 14:58:23 +0200 |
---|---|---|
committer | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2013-07-12 11:43:00 +0200 |
commit | ef523ea6235d16e0676d0263c964570134a59750 (patch) | |
tree | 60583e2f52789937de72325008663cf6d7a9a087 /src/bin/auth/main.cc | |
parent | [2862] Subscribe in case of remote segment (diff) | |
download | kea-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.cc | 6 |
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)); } } |