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:
Nikos Mavrogiannopoulos
2016-03-06 16:58:08 +01:00
parent 8892eb1934
commit e0947340bb
5 changed files with 8 additions and 12 deletions

View File

@@ -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;