Compare commits

..

No commits in common. "83c63b914a8d225e09c47973c81eff279e965077" and "cc4154bb0d1cc3cee755ce6952b46423da4d27d3" have entirely different histories.

3 changed files with 2 additions and 8 deletions

View file

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

View file

@ -230,7 +230,6 @@ 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,15 +180,10 @@ 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 = address + ":" + node.Port.ToString() endpoint = node.Address + ":" + node.Port.ToString()
}; };
var setting = new Outboundsettings4Ray var setting = new Outboundsettings4Ray
{ {