aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl/check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/prosodyctl/check.lua')
-rw-r--r--util/prosodyctl/check.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index 742980c9..2c102ec2 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -838,10 +838,16 @@ local function check(arg)
if modules:contains("c2s") then
check_connectivity("xmpp-client")
+ if configmanager.get("*", "c2s_direct_tls_ports") then
+ check_connectivity("xmpps-client");
+ end
end
if modules:contains("s2s") then
check_connectivity("xmpp-server")
+ if configmanager.get("*", "s2s_direct_tls_ports") then
+ check_connectivity("xmpps-server");
+ end
end
print()