chore: disable DTLS #2511

Merged
Sainan merged 1 commits from no-dtls into main 2025-07-20 00:28:39 -07:00

View File

@ -130,7 +130,7 @@ const createLoginResponse = (
resp.Groups = []; resp.Groups = [];
} }
if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) { if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) {
resp.DTLS = 99; resp.DTLS = 0; // bit 0 enables DTLS. if enabled, additional bits can be set, e.g. bit 2 to enable logging. on live, the value is 99.
} }
if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) { if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
resp.ClientType = account.ClientType; resp.ClientType = account.ClientType;