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
No known key found for this signature in database

View File

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