mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
main: increased details on error message
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -713,8 +713,9 @@ int sfd = -1;
|
||||
}
|
||||
|
||||
if (session_id_size <= 0 || session_id_size > GNUTLS_MAX_SESSION_ID) {
|
||||
mslog(s, NULL, LOG_INFO, "%s: invalid session ID size",
|
||||
human_addr((struct sockaddr*)&cli_addr, cli_addr_size, tbuf, sizeof(tbuf)));
|
||||
mslog(s, NULL, LOG_INFO, "%s: invalid session ID size (%d)",
|
||||
human_addr((struct sockaddr*)&cli_addr, cli_addr_size, tbuf, sizeof(tbuf)),
|
||||
session_id_size);
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user