mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
ntpd-rs is an NTP implementation written in Rust, with a focus on security and stability. It includes client and server functionality and supports NTS. WWW: https://tweedegolf.nl/en/pendulum PR: 272774
11 lines
565 B
Rust
11 lines
565 B
Rust
--- test-binaries/src/bin/peer-state.rs.orig 2023-07-28 10:30:19 UTC
|
|
+++ test-binaries/src/bin/peer-state.rs
|
|
@@ -3,7 +3,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Box<dyn Error>> {
|
|
- let mut stream = tokio::net::UnixStream::connect("/run/ntpd-rs/observe").await?;
|
|
+ let mut stream = tokio::net::UnixStream::connect("/var/run/ntpd-rs/observe").await?;
|
|
|
|
let mut msg = Vec::with_capacity(16 * 1024);
|
|
let output: ObservableState = ntp_daemon::sockets::read_json(&mut stream, &mut msg).await?;
|