Debugging x2
modified: src/client.rs
This commit is contained in:
parent
c6fcd989ae
commit
13279f348c
@ -397,11 +397,11 @@ pub mod desktop {
|
|||||||
let mut client = CoreVpnClient{ client_config: self.client_config.clone(), dev_reader: DevReader{ dr: rx }, dev_writer: DevWriter{dr: wx}, close_token: tokio_util::sync::CancellationToken::new()};
|
let mut client = CoreVpnClient{ client_config: self.client_config.clone(), dev_reader: DevReader{ dr: rx }, dev_writer: DevWriter{dr: wx}, close_token: tokio_util::sync::CancellationToken::new()};
|
||||||
|
|
||||||
info!("Platform specific code");
|
info!("Platform specific code");
|
||||||
#[cfg(target_os = "linux")]
|
/* #[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
let s_a: std::net::SocketAddr = self.client_config.server.endpoint.parse().unwrap();
|
let s_a: std::net::SocketAddr = self.client_config.server.endpoint.parse().unwrap();
|
||||||
configure_routes(&s_a.ip().to_string(), self.s_interface.clone());
|
configure_routes(&s_a.ip().to_string(), self.s_interface.clone());
|
||||||
}
|
}*/
|
||||||
|
|
||||||
client.start(sock).await;
|
client.start(sock).await;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user