Add xray tun support (#9063)

* Add xray tun support

* Revert mtu list
This commit is contained in:
DHR60
2026-04-16 11:17:44 +00:00
committed by GitHub
parent 177ad7db3d
commit 494b35c1f7
17 changed files with 208 additions and 284 deletions
@@ -24,7 +24,7 @@ public partial class CoreConfigSingboxService
strategy = directDnsStrategy
};
if (_config.TunModeItem.EnableTun)
if (context.IsTunEnabled)
{
_coreConfig.route.auto_detect_interface = true;