Merge pull request #1340 from DustinWin/dev

适配 mihomo 内核 Tun 新特性
This commit is contained in:
juewuy
2026-10-24 10:33:28 +08:00
committed by GitHub
+1 -1
View File
@@ -7,7 +7,7 @@ prepare_clash_base_config() {
external="external-controller: 0.0.0.0:$db_port"
if [ "$redir_mod" = "Mix" -o "$redir_mod" = "Tun" ]; then
[ "$crashcore" = 'meta' ] && tun_meta=', device: utun, auto-route: false, auto-detect-interface: false'
tun="tun: {enable: true, stack: system$tun_meta}"
tun="tun: {enable: true, stack: mips$tun_meta}"
else
tun='tun: {enable: false}'
fi