https://github.com/2dust/v2rayNG/issues/5151
This commit is contained in:
2dust committed 2026-01-13 11:10:48 +08:00
1 parent 4a3686fb32
commit 18f23d9d3b
1 file changed
+1 -1
@@ -101,7 +101,7 @@ object Hysteria2Fmt : FmtBase() {
Hysteria2Bean.TransportBean(
type = "udp",
udp = Hysteria2Bean.TransportBean.TransportUdpBean(
hopInterval = (config.portHoppingInterval ?: "30") + "s"
hopInterval = (config.portHoppingInterval?.takeIf { it.isNotEmpty() } ?: "30") + "s"
)
)