mirror of https://github.com/ospab/ostp.git
fix(client): fix compilation error on linux due to server_ip_str
This commit is contained in:
parent
85f0cb19cf
commit
da238fad5c
|
|
@ -53,7 +53,8 @@ pub async fn run_native_tunnel(
|
||||||
.next()
|
.next()
|
||||||
.map(|a| a.ip())
|
.map(|a| a.ip())
|
||||||
.ok_or_else(|| anyhow!("Could not resolve server host"))?;
|
.ok_or_else(|| anyhow!("Could not resolve server host"))?;
|
||||||
let _server_ip_str = server_ip.to_string();
|
#[allow(unused_variables)]
|
||||||
|
let server_ip_str = server_ip.to_string();
|
||||||
|
|
||||||
// ── 2. Windows: grab physical gateway BEFORE we touch any routes ──────────
|
// ── 2. Windows: grab physical gateway BEFORE we touch any routes ──────────
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue