mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-13 14:58:07 +08:00
print the per-user RX and TX bytes from occtl
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user