Mercurial > prosody-hg
diff util/prosodyctl/check.lua @ 12377:317132bca8c0
prosodyctl: check: include TURN checks by default
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 05 Mar 2022 11:53:53 +0000 |
| parents | 10353ad0ca7a |
| children | 6ac3c580c00d |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Sat Mar 05 11:36:38 2022 +0000 +++ b/util/prosodyctl/check.lua Sat Mar 05 11:53:53 2022 +0000 @@ -1204,7 +1204,7 @@ print("Note: It does not ensure that the check actually reaches this specific prosody instance.") end - if what == "turn" then + if not what or what == "turn" then local turn_enabled_hosts = {}; local turn_services = {}; @@ -1246,7 +1246,7 @@ end for turn_id, turn_service in pairs(turn_services) do - print("Testing "..turn_id.."..."); + print("Testing TURN service "..turn_id.."..."); local result = check_turn_service(turn_service, opts.ping); if #result.warnings > 0 then
