fix(client): fix compilation error on linux due to server_ip_str

This commit is contained in:
ospab 2026-06-07 21:03:52 +03:00
parent 85f0cb19cf
commit da238fad5c
1 changed files with 2 additions and 1 deletions

View File

@ -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")]