mirror of https://github.com/2dust/v2rayN
Removes Wireguard listen port
parent
9f6a478d70
commit
a31a7a8ded
|
@ -153,7 +153,7 @@ public class Endpoints4Sbox : BaseServer4Sbox
|
|||
public int? mtu { get; set; }
|
||||
public List<string> address { get; set; }
|
||||
public string private_key { get; set; }
|
||||
public int listen_port { get; set; }
|
||||
public int? listen_port { get; set; }
|
||||
public string? udp_timeout { get; set; }
|
||||
public int? workers { get; set; }
|
||||
public List<Peer4Sbox> peers { get; set; }
|
||||
|
|
|
@ -790,7 +790,6 @@ public class CoreConfigSingboxService
|
|||
try
|
||||
{
|
||||
endpoint.address = Utils.String2List(node.RequestHost);
|
||||
endpoint.listen_port = Utils.GetFreePort();
|
||||
endpoint.type = Global.ProtocolTypes[node.ConfigType];
|
||||
|
||||
if (Utils.IsDomain(node.Address))
|
||||
|
|
Loading…
Reference in New Issue