mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
Merge branch 'bugfix/mtu-stats' into 'master'
Fix max_mtu calculation in server stats See merge request openconnect/ocserv!488
This commit is contained in:
1
NEWS
1
NEWS
@@ -5,6 +5,7 @@
|
||||
- Enhanced the seccomp filters to address issue in testing (#627)
|
||||
- Fixed "unexpected URL" errors for Cisco AnyConnect clients
|
||||
- Fixed the 'ping-leases' option, which was broken since version 1.1.1
|
||||
- Fixed maximum MTU tracking in server statistics
|
||||
- Fixed 'iroute' option processing to handle multiple routes (#625)
|
||||
- Fixed session accounting for roaming users (#674)
|
||||
- occtl: fix invalid JSON output in `occtl -j show iroutes` (#661)
|
||||
|
||||
@@ -723,7 +723,7 @@ static void update_main_stats(main_server_st *s, struct proc_st *proc)
|
||||
|
||||
if (s->stats.min_mtu == 0 || proc->mtu < s->stats.min_mtu)
|
||||
s->stats.min_mtu = proc->mtu;
|
||||
if (s->stats.max_mtu == 0 || proc->mtu > s->stats.min_mtu)
|
||||
if (s->stats.max_mtu == 0 || proc->mtu > s->stats.max_mtu)
|
||||
s->stats.max_mtu = proc->mtu;
|
||||
|
||||
/* connection time in minutes */
|
||||
|
||||
Reference in New Issue
Block a user