fix(irtt): use effective RTT for latency fallback

This commit is contained in:
Nils Andreas Svee committed 2026-10-14 11:12:50 +07:00
1 parent 3eab999aa5
commit 441720811e
4 files changed
+13 -1

No files matched your search

+2
View File
@@ -326,6 +326,7 @@ impl IcmpEngine {
stream: probe.stream,
started_at: probe.sent_at,
observed_at,
round_trip: None,
one_way: None,
})
}
@@ -385,6 +386,7 @@ impl IcmpEngine {
stream: probe.stream,
started_at: probe.sent_at,
observed_at,
round_trip: None,
one_way: Some(OneWayLatency {
uplink: SignedDuration::from_millis(uplink_ms),
downlink: SignedDuration::from_millis(downlink_ms),