diff --git a/src/parser/subparser.cpp b/src/parser/subparser.cpp index 45ab5b7..038eb34 100644 --- a/src/parser/subparser.cpp +++ b/src/parser/subparser.cpp @@ -1290,7 +1290,7 @@ void explodeClash(Node yamlnode, std::vector &nodes) { singleproxy["plugin-opts"]["host"] >>= pluginopts_host; tls = safe_as(singleproxy["plugin-opts"]["tls"]) ? "tls;" : ""; singleproxy["plugin-opts"]["path"] >>= path; - pluginopts_mux = safe_as(singleproxy["plugin-opts"]["mux"]) ? "mux=4;" : ""; + pluginopts_mux = safe_as(singleproxy["plugin-opts"]["mux"]) ? "4" : ""; } break; default: @@ -1310,7 +1310,7 @@ void explodeClash(Node yamlnode, std::vector &nodes) { pluginopts += pluginopts_host.empty() ? "" : ";obfs-host=" + pluginopts_host; break; case "v2ray-plugin"_hash: - pluginopts = "mode=" + pluginopts_mode + ";" + tls + pluginopts_mux; + pluginopts = "mode=" + pluginopts_mode + ";" + tls; if (!pluginopts_host.empty()) pluginopts += "host=" + pluginopts_host + ";"; if (!path.empty())