mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
Fix display of rx/tx per sec limit
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -425,10 +425,12 @@ static int append_user_info(method_ctx *ctx,
|
||||
|
||||
tmp = ctmp->config->rx_per_sec;
|
||||
tmp *= 1000;
|
||||
rep->has_rx_per_sec = ctmp->config->has_rx_per_sec;
|
||||
rep->rx_per_sec = tmp;
|
||||
|
||||
tmp = ctmp->config->tx_per_sec;
|
||||
tmp *= 1000;
|
||||
rep->has_tx_per_sec = ctmp->config->has_tx_per_sec;
|
||||
rep->tx_per_sec = tmp;
|
||||
|
||||
rep->dpd = ctmp->config->dpd;
|
||||
|
||||
Reference in New Issue
Block a user