aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/paths.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 12:18:52 +0100
committertv <tv@krebsco.de>2026-10-31 12:18:52 +0100
commit23fdb16885d8f4d8a8d95d77d4c5daf1403e0f0f (patch)
treee92bb8e49160d2c1911ce48d707b351c213fef4a /src/transport/paths.rs
parent4ee957385ebe392a2d1fe9ad09f0a8477be78f05 (diff)
links replies carry clock offsets
Diffstat (limited to 'src/transport/paths.rs')
-rw-r--r--src/transport/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/paths.rs b/src/transport/paths.rs
index 2ef3a12..7ebde70 100644
--- a/src/transport/paths.rs
+++ b/src/transport/paths.rs
@@ -114,7 +114,7 @@ const CLOCK_KEPT: Duration = Duration::from_secs(300);
/// PONG: `offset_ms`, give or take `within_ms`. The PONG says its sender's time when it
/// answered, which was after our PING went and before the PONG came: within half the
/// round trip of its middle, however differently long the two ways took.
-#[derive(Clone, Copy, Debug, PartialEq, Eq, serde::Serialize)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct ClockOffset {
pub(crate) offset_ms: i64,