mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
ipc: pass the connection status as integer
Conversion to textual form now happens at the client (occtl) instead of the main server.
This commit is contained in:
@@ -351,7 +351,7 @@ static int append_user_info(method_ctx *ctx,
|
||||
rep->hostname = ctmp->hostname;
|
||||
rep->user_agent = ctmp->user_agent;
|
||||
|
||||
rep->status = (char*)ps_status_to_str(ctmp->status, 0);
|
||||
rep->status = ctmp->status;
|
||||
|
||||
rep->tls_ciphersuite = ctmp->tls_ciphersuite;
|
||||
rep->dtls_ciphersuite = ctmp->dtls_ciphersuite;
|
||||
|
||||
Reference in New Issue
Block a user