From 578e951b0d3f1a934d9c56779fe66e1daa1f5451 Mon Sep 17 00:00:00 2001 From: ospab Date: Sun, 7 Jun 2026 21:03:52 +0300 Subject: [PATCH] fix(client): fix compilation error on linux due to server_ip_str --- ostp-client/src/tunnel/native_handler.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ostp-client/src/tunnel/native_handler.rs b/ostp-client/src/tunnel/native_handler.rs index cc15624..82dd592 100644 --- a/ostp-client/src/tunnel/native_handler.rs +++ b/ostp-client/src/tunnel/native_handler.rs @@ -53,7 +53,8 @@ pub async fn run_native_tunnel( .next() .map(|a| a.ip()) .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 ────────── #[cfg(target_os = "windows")]