Fix tun mtu setting

This commit is contained in:
2dust
2025-02-26 20:46:31 +08:00
parent 555960e210
commit 98613c43ca
3 changed files with 8 additions and 8 deletions

View File

@@ -725,7 +725,7 @@ namespace ServiceLib.Handler
profileItem.Network = string.Empty;
if (profileItem.ShortId.IsNullOrEmpty())
{
profileItem.ShortId = Global.TunMtus.FirstOrDefault();
profileItem.ShortId = Global.TunMtus.First().ToString();
}
if (profileItem.Id.IsNullOrEmpty())