aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-05 11:53:53 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-05 11:53:53 +0000
commit0babcb6c0669bec72bcd58b3d5ffbdf064ed51f5 (patch)
tree0e0bc349b686b6ceea1df93ff66bb0dc69a6f35a /util
parent5af6db124a35868be947a91bfeb8206bd18ded6c (diff)
downloadprosody-0babcb6c0669bec72bcd58b3d5ffbdf064ed51f5.tar.gz
prosody-0babcb6c0669bec72bcd58b3d5ffbdf064ed51f5.zip
prosodyctl: check: include TURN checks by default
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl/check.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index c0eeffcc..22d6f56e 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -1204,7 +1204,7 @@ local function check(arg)
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 @@ local function check(arg)
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