print the per-user RX and TX bytes from occtl

This commit is contained in:
Nikos Mavrogiannopoulos
2014-09-02 09:11:37 +02:00
parent a40c5afcc8
commit ecd6e316a9
4 changed files with 36 additions and 15 deletions

View File

@@ -329,6 +329,8 @@ static int append_user_info(method_ctx *ctx,
rep->tls_ciphersuite = ctmp->tls_ciphersuite;
rep->dtls_ciphersuite = ctmp->dtls_ciphersuite;
rep->rx_bytes = ctmp->bytes_in;
rep->tx_bytes = ctmp->bytes_out;
if (single > 0) {
if (ctmp->config.rx_per_sec > 0)