From f24aba7b1989c01faa23320e2ed4df16498d3043 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 9 Sep 2021 22:14:43 +0200 Subject: mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity And to follow existing naming practices better than 'legacy_ssl' did. --- doc/doap.xml | 2 +- plugins/mod_c2s.lua | 2 +- util/prosodyctl/check.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/doap.xml b/doc/doap.xml index 191f4caa..bb8a0dd4 100644 --- a/doc/doap.xml +++ b/doc/doap.xml @@ -641,7 +641,7 @@ 1.1.0 partial 0.2.0 - direct_tls_ports (formerly legacy_ssl_ports) for c2s and direct_tls_s2s_ports for s2s + c2s_direct_tls_ports (formerly legacy_ssl_ports) for c2s and direct_tls_s2s_ports for s2s diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index 1f22d871..e97b3b3f 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -442,7 +442,7 @@ module:provides("net", { }); module:provides("net", { - name = "direct_tls"; + name = "c2s_direct_tls"; listener = listener; encryption = "ssl"; multiplex = { diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 0a136709..7b3da3ba 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -311,7 +311,7 @@ local function check(arg) 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; -- cgit v1.2.3