X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ffb613dbeaea84a8732e992cdb660a051077995c..a29ab1ce9a9f77d794660a556d80b06d7584350d:/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 1d126ae5..23417166 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -142,6 +142,10 @@ else if (ParseYesNo(pvi->value[0], &logProtocolErrors)) printfd(__FILE__, "Cannot parse parameter 'LogProtocolErrors'\n"); return -1; } +if (logProtocolErrors) + printfd(__FILE__, "LogProtocolErrors: true\n"); +else + printfd(__FILE__, "LogProtocolErrors: false\n"); ///////////////////////////////////////////////////////////// std::string freeMbType; int n = 0; @@ -526,11 +530,10 @@ if (ret) return ret; } //----------------------------------------------------------------------------- -int AUTH_IA::Reload() +int AUTH_IA::Reload(const MODULE_SETTINGS & ms) { AUTH_IA_SETTINGS newIaSettings; -MODULE_SETTINGS newSettings = settings; -if (newIaSettings.ParseSettings(newSettings)) +if (newIaSettings.ParseSettings(ms)) { STG_LOGGER & WriteServLog = GetStgLogger(); printfd(__FILE__, "AUTH_IA::Reload() - Failed to reload InetAccess.\n");