Diff

util/prosodyctl/check.lua @ 11778:f254fd16218a

mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity And to follow existing naming practices better than 'legacy_ssl' did.
author Kim Alvefur <zash@zash.se>
date Thu, 09 Sep 2021 22:14:43 +0200
parent 11777:08de090e05e9
child 11779:f4f0bdaeabd2
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Thu Sep 09 22:10:12 2021 +0200
+++ b/util/prosodyctl/check.lua	Thu Sep 09 22:14:43 2021 +0200
@@ -311,7 +311,7 @@
 		local ip = require "util.ip";
 		local c2s_ports = set.new(configmanager.get("*", "c2s_ports") or {5222});
 		local s2s_ports = set.new(configmanager.get("*", "s2s_ports") or {5269});
-		local c2s_tls_ports = set.new(configmanager.get("*", "direct_tls_ports") or {});
+		local c2s_tls_ports = set.new(configmanager.get("*", "c2s_direct_tls_ports") or {});
 		local s2s_tls_ports = set.new(configmanager.get("*", "s2s_direct_tls_ports") or {});
 
 		local c2s_srv_required, s2s_srv_required, c2s_tls_srv_required, s2s_tls_srv_required;