mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-13 14:58:07 +08:00
Simplified debugging by allowing multiple levels.
'ocserv -d' now accepts a numeric option from 0 (no debugging) to 9 (maximum verbosity).
This commit is contained in:
@@ -557,7 +557,7 @@ const char* perr;
|
||||
char *tmp;
|
||||
unsigned len;
|
||||
|
||||
if (s->config->tls_debug) {
|
||||
if (s->config->debug >= DEBUG_TLS) {
|
||||
gnutls_global_set_log_function(tls_log_func);
|
||||
gnutls_global_set_log_level(9);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user