|
@@ -927,6 +927,7 @@ if is_finded("xray") then
|
|
|
o:value(v, translate(v))
|
|
|
end
|
|
|
o.rmempty = true
|
|
|
+ o:depends("xtls", true)
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "tcp", tls = true})
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "tcp", reality = true})
|
|
|
|
|
@@ -951,6 +952,7 @@ end
|
|
|
o = s:option(Value, "tls_host", translate("TLS Host"))
|
|
|
o.datatype = "hostname"
|
|
|
o:depends("tls", true)
|
|
|
+o:depends("xtls", true)
|
|
|
o:depends("reality", true)
|
|
|
o.rmempty = true
|
|
|
|