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