Bug fixes

Fix when parsing some subscription, the same node will appear multiple times.
Fix incorrect plugin in exporting SSD subscription.
This commit is contained in:
Tindy X committed 2019-12-21 03:08:51 +08:00
1 parent 204e309086
commit 97a1a123ba
2 files changed
+3

No files matched your search

+2
View File
@@ -1308,6 +1308,8 @@ std::string netchToSSD(std::vector<nodeInfo> &nodes, std::string &group, extra_s
switch(x.linkType)
{
case SPEEDTEST_MESSAGE_FOUNDSS:
if(plugin == "obfs-local")
plugin = "simple-obfs";
writer.StartObject();
writer.Key("server");
writer.String(hostname.data());