diff --git a/Cargo.lock b/Cargo.lock index 37044ff11..edb3547de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -737,8 +737,9 @@ dependencies = [ [[package]] name = "timestamped-socket" -version = "0.2.0" -source = "git+https://github.com/pendulum-project/timestamped-socket?branch=add-interface-change-detector#eb816a5ddc7bb91f55fce4f99b12aabfb1f83d4e" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "145a47b252af2c28b6a957c3cc3f0db382a2024728fd6deb511f5ea5201d949b" dependencies = [ "libc", "serde", diff --git a/Cargo.toml b/Cargo.toml index 171692536..4f5384049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ libc = "0.2.145" tokio = "1.32" toml = ">=0.5.0,<0.9.0" async-trait = "0.1.22" -timestamped-socket = "0.2.0" +timestamped-socket = "0.2.1" clock-steering = "0.2.0" # TLS @@ -62,6 +62,3 @@ zeroize = "1.5" # our own crates used as dependencies, same version as the workspace version # NOTE: keep this part at the bottom of the file, do not change this line ntp-proto = { version = "1.1.2", path = "./ntp-proto", features = ["__internal-api"] } - -[patch.crates-io] -timestamped-socket = { git="https://github.com/pendulum-project/timestamped-socket", branch = "add-interface-change-detector" } diff --git a/ntpd/src/daemon/peer.rs b/ntpd/src/daemon/peer.rs index 1d8595302..b94c90254 100644 --- a/ntpd/src/daemon/peer.rs +++ b/ntpd/src/daemon/peer.rs @@ -310,6 +310,7 @@ where interface, 0, /*lets os choose*/ timestamp_mode.as_interface_mode(), + None, ) .and_then(|socket| socket.connect(addr)) }