Compare commits

...

2 commits

Author SHA1 Message Date
2dust
83c63b914a up 7.16.5
Some checks failed
release Linux / build (Release) (push) Has been cancelled
release macOS / build (Release) (push) Has been cancelled
release Windows desktop (Avalonia UI) / build (Release) (push) Has been cancelled
release Windows / build (Release) (push) Has been cancelled
release Linux / rpm (push) Has been cancelled
2025-11-29 19:59:48 +08:00
DHR60
1ca2485d2a
Fix (#8407) 2025-11-29 19:58:51 +08:00
3 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<Version>7.16.4</Version> <Version>7.16.5</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>

View file

@ -230,6 +230,7 @@ public class ShadowsocksFmt : BaseFmt
if (!host.IsNullOrEmpty()) if (!host.IsNullOrEmpty())
{ {
item.RequestHost = host.Replace("host=", ""); item.RequestHost = host.Replace("host=", "");
item.Sni = item.RequestHost;
} }
if (!path.IsNullOrEmpty()) if (!path.IsNullOrEmpty())
{ {

View file

@ -180,10 +180,15 @@ public partial class CoreConfigV2rayService
} }
case EConfigType.WireGuard: case EConfigType.WireGuard:
{ {
var address = node.Address;
if (Utils.IsIpv6(address))
{
address = $"[{address}]";
}
var peer = new WireguardPeer4Ray var peer = new WireguardPeer4Ray
{ {
publicKey = node.PublicKey, publicKey = node.PublicKey,
endpoint = node.Address + ":" + node.Port.ToString() endpoint = address + ":" + node.Port.ToString()
}; };
var setting = new Outboundsettings4Ray var setting = new Outboundsettings4Ray
{ {