mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
Merge branch 'minor' into 'master'
cosmetic fixes for rx/tx per sec limit See merge request openconnect/ocserv!214
This commit is contained in:
@@ -594,7 +594,7 @@ no-route = 192.168.5.0/255.255.255.0
|
||||
# per group. Each file name on these directories must match the username
|
||||
# or the groupname.
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, rx/tx-per-sec, iroute, route, no-route,
|
||||
# ipv?-network, ipv4-netmask, rx/tx-data-per-sec, iroute, route, no-route,
|
||||
# explicit-ipv4, explicit-ipv6, net-priority, deny-roaming, no-udp,
|
||||
# keepalive, dpd, mobile-dpd, max-same-clients, tunnel-all-dns,
|
||||
# restrict-user-to-routes, cgroup, stats-report-time,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -253,7 +253,7 @@ route = fc13:71:ea31:4b4e::/64
|
||||
# per group. Each file name on these directories must match the username
|
||||
# or the groupname.
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-per-sec, iroute, route,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-data-per-sec, iroute, route,
|
||||
# net-priority and cgroup.
|
||||
#
|
||||
# Note that the 'iroute' option allows one to add routes on the server
|
||||
|
||||
@@ -258,7 +258,7 @@ route = fc13:71:ea31:4b4e::/64
|
||||
# per group. Each file name on these directories must match the username
|
||||
# or the groupname.
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-per-sec, iroute, route,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-data-per-sec, iroute, route,
|
||||
# net-priority and cgroup.
|
||||
#
|
||||
# Note that the 'iroute' option allows one to add routes on the server
|
||||
|
||||
@@ -275,7 +275,7 @@ route = fc13:71:ea31:4b4e::/64
|
||||
# per group. Each file name on these directories must match the username
|
||||
# or the groupname.
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-per-sec, iroute, route,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-data-per-sec, iroute, route,
|
||||
# net-priority and cgroup.
|
||||
#
|
||||
# Note that the 'iroute' option allows one to add routes on the server
|
||||
|
||||
@@ -254,7 +254,7 @@ route = fc13:71:ea31:4b4e::/64
|
||||
# per group. Each file name on these directories must match the username
|
||||
# or the groupname.
|
||||
# The options allowed in the configuration files are dns, nbns,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-per-sec, iroute, route,
|
||||
# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-data-per-sec, iroute, route,
|
||||
# net-priority and cgroup.
|
||||
#
|
||||
# Note that the 'iroute' option allows one to add routes on the server
|
||||
|
||||
Reference in New Issue
Block a user