changeset 4763:91077c928c57

mod_dnsupdate: Fix to use correct port settings Copy paste mistakes
author Kim Alvefur <zash@zash.se>
date Mon, 08 Nov 2021 22:28:00 +0100
parents ba312cd7907f
children a754f7e380b2
files mod_dnsupdate/mod_dnsupdate.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_dnsupdate/mod_dnsupdate.lua	Sat Nov 06 14:48:35 2021 +0100
+++ b/mod_dnsupdate/mod_dnsupdate.lua	Mon Nov 08 22:28:00 2021 +0100
@@ -75,9 +75,9 @@
 
 	local configured_ports = {
 		["xmpp-client"] = module:get_option_array("c2s_ports", { 5222 });
-		["xmpp-server"] = module:get_option_array("c2s_ports", { 5269 });
+		["xmpp-server"] = module:get_option_array("s2s_ports", { 5269 });
 		["xmpps-client"] = module:get_option_array("c2s_direct_tls_ports", {});
-		["xmpps-server"] = module:get_option_array("c2s_ports", {});
+		["xmpps-server"] = module:get_option_array("s2s_direct_tls_ports", {});
 	};
 
 	if opts.multiplex then