fix(tun): set linux DEFAULT_STACK to gvisor

This commit is contained in:
Slinetrac
2025-11-12 00:39:46 +08:00
parent b40136a790
commit d18c303e12

View File

@@ -68,10 +68,6 @@ pub mod error_patterns {
} }
pub mod tun { 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 DEFAULT_STACK: &str = "gvisor";
pub const DNS_HIJACK: &[&str] = &["any:53"]; pub const DNS_HIJACK: &[&str] = &["any:53"];