Compare commits

..

1 Commits

Author SHA1 Message Date
asdlokj1qpi23
26f8f51eb5 fix vless support bug 2023-12-20 11:06:02 +08:00

View File

@@ -2176,7 +2176,7 @@ proxyToSingBox(std::vector<Proxy> &nodes, rapidjson::Document &json, std::vector
break;
}
case ProxyType::VLESS: {
addSingBoxCommonMembers(proxy, x, "vmess", allocator);
addSingBoxCommonMembers(proxy, x, "vless", allocator);
proxy.AddMember("uuid", rapidjson::StringRef(x.UserId.c_str()), allocator);
if (xudp && udp)
proxy.AddMember("packet_encoding", rapidjson::StringRef("xudp"), allocator);