From e40d8de1b24a890a8d48c5eede816c62be4c0189 Mon Sep 17 00:00:00 2001 From: evgeny Date: Sat, 24 Oct 2026 14:54:48 +0200 Subject: [PATCH] Keep full router jitter precision in monitor snapshots --- src/control_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control_server.c b/src/control_server.c index 1b174d46..b9f2bec1 100644 --- a/src/control_server.c +++ b/src/control_server.c @@ -1281,7 +1281,7 @@ static void send_metrics(struct control_server* server, struct control_client* c rtt_cnt++; } { - uint16_t j = (uint16_t)(rc->rtt_jitter / 32768); + uint32_t j = rc->rtt_jitter / 32768; if (j > rsp->router.jitter) rsp->router.jitter = j; } if (rc->minrtt_window_count > 0) {