diff --git a/src/generator/config/subexport.cpp b/src/generator/config/subexport.cpp index 36f6269a5..9c5b1f84d 100644 --- a/src/generator/config/subexport.cpp +++ b/src/generator/config/subexport.cpp @@ -616,7 +616,7 @@ void proxyToClash(std::vector &nodes, YAML::Node &yamlnode, const ProxyGr break; case ProxyType::VLESS: singleproxy["type"] = "vless"; - singleproxy["tls"] = true; + singleproxy["tls"] = x.TLSSecure; // Output packet-encoding, xudp, packet-addr only if explicitly set if (!x.PacketEncoding.empty()) singleproxy["packet-encoding"] = x.PacketEncoding;