From c88f2099c1ccf25980cb5978f4c330c1f45f39c6 Mon Sep 17 00:00:00 2001 From: wonfen Date: Mon, 24 Feb 2025 23:09:57 +0800 Subject: [PATCH] chore: Change default TUN stack from 'mixed' to 'gvisor' --- src/components/setting/mods/tun-viewer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/setting/mods/tun-viewer.tsx b/src/components/setting/mods/tun-viewer.tsx index 699092e7..bff9491e 100644 --- a/src/components/setting/mods/tun-viewer.tsx +++ b/src/components/setting/mods/tun-viewer.tsx @@ -35,7 +35,7 @@ export const TunViewer = forwardRef((props, ref) => { open: () => { setOpen(true); setValues({ - stack: clash?.tun.stack ?? "mixed", + stack: clash?.tun.stack ?? "gvisor", device: clash?.tun.device ?? "Mihomo", autoRoute: clash?.tun["auto-route"] ?? true, autoDetectInterface: clash?.tun["auto-detect-interface"] ?? true, @@ -89,7 +89,7 @@ export const TunViewer = forwardRef((props, ref) => { size="small" onClick={async () => { let tun = { - stack: "mixed", + stack: "gvisor", device: "Mihomo", "auto-route": true, "auto-detect-interface": true, @@ -98,7 +98,7 @@ export const TunViewer = forwardRef((props, ref) => { mtu: 1500, }; setValues({ - stack: "mixed", + stack: "gvisor", device: "Mihomo", autoRoute: true, autoDetectInterface: true,