modified: src/client.rs
This commit is contained in:
parent
360256ab03
commit
1576dc75df
@ -363,11 +363,6 @@ pub mod desktop {
|
|||||||
.tun_name("tun0")
|
.tun_name("tun0")
|
||||||
.up();
|
.up();
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
|
||||||
config.platform_config(|config| {
|
|
||||||
config.ensure_root_privileges(true);
|
|
||||||
});
|
|
||||||
|
|
||||||
info!("SSS: {:?}", &self.client_config.server.endpoint);
|
info!("SSS: {:?}", &self.client_config.server.endpoint);
|
||||||
let sock = UdpSocket::bind(("0.0.0.0", 0)).await.unwrap();
|
let sock = UdpSocket::bind(("0.0.0.0", 0)).await.unwrap();
|
||||||
sock.connect(&self.client_config.server.endpoint).await.unwrap();
|
sock.connect(&self.client_config.server.endpoint).await.unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user