Compare commits

..

5 commits

Author SHA1 Message Date
DHR60
12f879d39a
Merge 3314b4ac8c into b5800f7dfc 2026-02-11 06:31:50 +00:00
DHR60
3314b4ac8c Fix 2026-02-11 14:31:38 +08:00
DHR60
810c4f5302 Remove EnableExInbound 2026-02-11 14:31:38 +08:00
DHR60
2ce52f5392 Tun protect 2026-02-11 14:31:38 +08:00
DHR60
0075939a73 Fix duplicates 2026-02-11 14:28:03 +08:00
2 changed files with 3 additions and 3 deletions

View file

@ -413,8 +413,8 @@ public partial class CoreConfigSingboxService
}
var tag = $"{node.IndexId}-{Global.ProxyTag}";
if (_coreConfig.outbounds.Any(o => o.tag == tag)
|| (_coreConfig.endpoints != null && _coreConfig.endpoints.Any(e => e.tag == tag)))
if (_coreConfig.outbounds.Any(o => o.tag.StartsWith(tag))
|| (_coreConfig.endpoints != null && _coreConfig.endpoints.Any(e => e.tag.StartsWith(tag))))
{
return tag;
}

View file

@ -165,7 +165,7 @@ public partial class CoreConfigV2rayService
}
var tag = $"{node.IndexId}-{Global.ProxyTag}";
if (_coreConfig.outbounds.Any(p => p.tag == tag))
if (_coreConfig.outbounds.Any(p => p.tag.StartsWith(tag)))
{
return tag;
}