mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: linux tun timeout (#4993)
* fix: linux tun timeout * docs: UPDATELOG.md
This commit is contained in:
@@ -51,6 +51,9 @@ impl IClashTemp {
|
||||
let mut tun = Mapping::new();
|
||||
let mut cors_map = Mapping::new();
|
||||
tun.insert("enable".into(), false.into());
|
||||
#[cfg(target_os = "linux")]
|
||||
tun.insert("stack".into(), "mixed".into());
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
tun.insert("stack".into(), "gvisor".into());
|
||||
tun.insert("auto-route".into(), true.into());
|
||||
tun.insert("strict-route".into(), false.into());
|
||||
|
||||
Reference in New Issue
Block a user