From 0babcb6c0669bec72bcd58b3d5ffbdf064ed51f5 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 5 Mar 2022 11:53:53 +0000 Subject: prosodyctl: check: include TURN checks by default --- util/prosodyctl/check.lua | 4 ++-- 1 file 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 -- cgit v1.2.3