From d18c303e121f7f87ae41b59e2346d1a885653b04 Mon Sep 17 00:00:00 2001 From: Slinetrac Date: Wed, 12 Nov 2025 00:39:46 +0800 Subject: [PATCH] fix(tun): set linux DEFAULT_STACK to gvisor --- src-tauri/src/constants.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs index 3195ea404..a07da7c15 100644 --- a/src-tauri/src/constants.rs +++ b/src-tauri/src/constants.rs @@ -68,10 +68,6 @@ pub mod error_patterns { } pub mod tun { - #[cfg(target_os = "linux")] - pub const DEFAULT_STACK: &str = "mixed"; - - #[cfg(not(target_os = "linux"))] pub const DEFAULT_STACK: &str = "gvisor"; pub const DNS_HIJACK: &[&str] = &["any:53"];