diff options
author | Andrew Lewis <nerf@judo.za.org> | 2024-12-18 01:00:27 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2024-12-18 01:00:27 +0200 |
commit | 0201c9c48440cd4de9a67e646b22747bc7727baa (patch) | |
tree | 5e8790a122252e5fb164fc4b83d41c2f9e8df1f4 | |
parent | d25238fead4b5c07fe05bc2a29df759075a93bdc (diff) | |
download | rspamd-0201c9c48440cd4de9a67e646b22747bc7727baa.tar.gz rspamd-0201c9c48440cd4de9a67e646b22747bc7727baa.zip |
[Minor] Fix transposed results in `rspamadm fuzzy_ping`
-rw-r--r-- | lualib/rspamadm/fuzzy_ping.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/fuzzy_ping.lua b/lualib/rspamadm/fuzzy_ping.lua index e0345da5f..12d41c1ea 100644 --- a/lualib/rspamadm/fuzzy_ping.lua +++ b/lualib/rspamadm/fuzzy_ping.lua @@ -167,7 +167,7 @@ local function print_results(results) local total = #l + (err_servers[s] or 0) print(highlight('Summary for %s: %d packets transmitted, %d packets received, %.1f%% packet loss', s, total, #l, (total - #l) * 100.0 / total)) - local mean, std = std_mean(l) + local std, mean = std_mean(l) local max, min = maxmin(l) print(string.format('round-trip min/avg/max/std-dev = %.2f/%.2f/%.2f/%.2f ms', min, mean, |