From 20935d23808592dd4fe9b13afb0c09b66e2a42c4 Mon Sep 17 00:00:00 2001 From: jkortis Date: Wed, 30 Sep 2026 23:53:18 -0400 Subject: [PATCH] fix: resolve OSString typo and coordinator module paths --- client/src/coordinator_client.rs | 4 ++-- client/src/tun.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/coordinator_client.rs b/client/src/coordinator_client.rs index 7514c9e..50283be 100644 --- a/client/src/coordinator_client.rs +++ b/client/src/coordinator_client.rs @@ -1,6 +1,6 @@ use tonic::{Request, Response, Status}; -use coordinator::coordinator_client::CoordinatorClient as GeneratedCoordinatorClient; -use coordinator::{RegisterRequest, RegisterResponse, HeartbeatRequest, HeartbeatResponse, PeerRequest, PeerResponse}; +use crate::coordinator::coordinator_client::CoordinatorClient as GeneratedCoordinatorClient; +use crate::coordinator::{RegisterRequest, RegisterResponse, HeartbeatRequest, HeartbeatResponse, PeerRequest, PeerResponse}; pub struct CoordinatorClient { client: GeneratedCoordinatorClient, diff --git a/client/src/tun.rs b/client/src/tun.rs index e7d3b5e..9fa84fb 100644 --- a/client/src/tun.rs +++ b/client/src/tun.rs @@ -42,7 +42,7 @@ unsafe impl Sync for TunInterface {} impl TunInterface { pub fn new(name: &str) -> io::Result { - let wide_name: Vec = OSString::from(name).encode_utf16().chain(std::iter::once(0)).collect(); + let wide_name: Vec = OsString::from(name).encode_utf16().chain(std::iter::once(0)).collect(); unsafe { let adapter = WintunOpenAdapter(wide_name.as_ptr());