mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
handle_sec_auth_cont: print status in readable form
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -704,8 +704,8 @@ int handle_sec_auth_cont(int cfd, sec_mod_st * sec, const SecAuthContMsg * req)
|
||||
}
|
||||
|
||||
if (e->status != PS_AUTH_INIT && e->status != PS_AUTH_CONT) {
|
||||
seclog(sec, LOG_ERR, "auth cont received for %s "SESSION_STR" but we are on state %u!",
|
||||
e->acct_info.username, e->acct_info.safe_id, e->status);
|
||||
seclog(sec, LOG_ERR, "auth cont received for %s "SESSION_STR" but we are on state %s(%u)!",
|
||||
e->acct_info.username, e->acct_info.safe_id, ps_status_to_str(e->status), e->status);
|
||||
ret = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user