mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Added reference counting to configuration values.
That is, to allow referencing to these values from proc_st without fearing of them being invalidated on a config reload. We perform a cleanup of these values on the server periodic check.
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
2e68ba1158
commit
9252e22298
@@ -112,7 +112,7 @@ void cleanup_client_entries(sec_mod_st *sec);
|
||||
|
||||
#ifdef __GNUC__
|
||||
# define seclog(sec, prio, fmt, ...) \
|
||||
if (prio != LOG_DEBUG || sec->config->debug >= 3) { \
|
||||
if (prio != LOG_DEBUG || sec->perm_config->debug >= 3) { \
|
||||
syslog(prio, "sec-mod: "fmt, ##__VA_ARGS__); \
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user