mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 18:24:58 +00:00
fix vless support bug
This commit is contained in:
1 parent
9f8067ab11
commit
26f8f51eb5
1 file changed
+1
-1
@@ -2176,7 +2176,7 @@ proxyToSingBox(std::vector<Proxy> &nodes, rapidjson::Document &json, std::vector
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ProxyType::VLESS: {
|
case ProxyType::VLESS: {
|
||||||
addSingBoxCommonMembers(proxy, x, "vmess", allocator);
|
addSingBoxCommonMembers(proxy, x, "vless", allocator);
|
||||||
proxy.AddMember("uuid", rapidjson::StringRef(x.UserId.c_str()), allocator);
|
proxy.AddMember("uuid", rapidjson::StringRef(x.UserId.c_str()), allocator);
|
||||||
if (xudp && udp)
|
if (xudp && udp)
|
||||||
proxy.AddMember("packet_encoding", rapidjson::StringRef("xudp"), allocator);
|
proxy.AddMember("packet_encoding", rapidjson::StringRef("xudp"), allocator);
|
||||||
|
|||||||
Reference in new issue
Block a user