Update On Wed Apr 9 20:37:41 CEST 2025

This commit is contained in:
github-action[bot]
2025-04-09 20:37:41 +02:00
parent 51f9f82bbb
commit d0e780f1b6
322 changed files with 2266 additions and 1325 deletions
@@ -8,10 +8,13 @@ public class BaseFmt
{
if (Utils.IsIpv6(address))
{
// 检查地址是否已经被方括号包围,如果没有,则添加方括号
// Check if the address is already surrounded by square brackets, if not, add square brackets
return address.StartsWith('[') && address.EndsWith(']') ? address : $"[{address}]";
}
return address; // 如果不是IPv6地址,直接返回原地址
else
{
return address;
}
}
protected static int GetStdTransport(ProfileItem item, string? securityDef, ref Dictionary<string, string> dicQuery)