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
commit8d0dc5de241882fac9f8b821d758b038ba1ebd7a (patch)
tree6fab63f6a088e06c75c68ef083f5c863e8c913de /src/transport/paths.rs
parent6c48039bbbc2c6bd564237920fd58d20d8bcde76 (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,