diff --git a/server/core/service.cc b/server/core/service.cc index e50e9ba72..acce78885 100644 --- a/server/core/service.cc +++ b/server/core/service.cc @@ -192,6 +192,7 @@ Service::Service(const std::string& service_name, const std::string& router_name snprintf(user, sizeof(user), "%s", m_user.c_str()); snprintf(password, sizeof(password), "%s", m_password.c_str()); snprintf(weightby, sizeof(weightby), "%s", m_weightby.c_str()); + snprintf(version_string, sizeof(version_string), "%s", m_version_string.c_str()); max_retry_interval = config_get_integer(params, CN_MAX_RETRY_INTERVAL); users_from_all = config_get_bool(params, CN_AUTH_ALL_SERVERS);