occtl: print the cookie associated with a user on user info

This allows to map existing cookies to connected users.
This commit is contained in:
Nikos Mavrogiannopoulos
2016-05-14 20:37:12 +02:00
parent f08b143398
commit 3a834fad26
11 changed files with 44 additions and 19 deletions
+3
View File
@@ -356,6 +356,9 @@ static int append_user_info(method_ctx *ctx,
rep->tls_ciphersuite = ctmp->tls_ciphersuite;
rep->dtls_ciphersuite = ctmp->dtls_ciphersuite;
rep->sid.data = ctmp->sid;
rep->sid.len = sizeof(ctmp->sid);
rep->cstp_compr = ctmp->cstp_compr;
rep->dtls_compr = ctmp->dtls_compr;
if (ctmp->mtu > 0) {