mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
silence debugging messages from sec-mod when not in debug
This commit is contained in:
@@ -617,7 +617,7 @@ static void ctl_handle_commands(main_server_st * s)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
ret = check_upeer_id("ctl", cfd, 0, 0, NULL);
|
||||
ret = check_upeer_id("ctl", s->config->debug, cfd, 0, 0, NULL);
|
||||
if (ret < 0) {
|
||||
mslog(s, NULL, LOG_ERR, "ctl: unauthorized connection");
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user