util/prosodyctl/check.lua
changeset 11961 3a7ce7df7806
parent 11944 2d82e4245aa3
child 12103 b344edad61d3
--- a/util/prosodyctl/check.lua	Sun Nov 28 21:55:53 2021 +0100
+++ b/util/prosodyctl/check.lua	Sun Nov 28 22:51:50 2021 +0100
@@ -838,10 +838,16 @@
 
 			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()