mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-25 18:32:22 +00:00
Merge pull request #47 from gengjiawen/patch-1
support surge hy2 port-hopping
This commit is contained in:
@@ -1088,6 +1088,8 @@ std::string proxyToSurge(std::vector<Proxy> &nodes, const std::string &base_conf
|
||||
proxy += ",server-cert-fingerprint-sha256=" + x.Fingerprint;
|
||||
if (!x.ServerName.empty())
|
||||
proxy += ",sni=" + x.ServerName;
|
||||
if (!x.Ports.empty())
|
||||
proxy += ",port-hopping=" + x.Ports;
|
||||
break;
|
||||
case ProxyType::WireGuard:
|
||||
if (surge_ver < 4 && surge_ver != -3)
|
||||
|
||||
Reference in New Issue
Block a user