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());