Diff

mod_dnsupdate/mod_dnsupdate.lua @ 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
parent 4762:ba312cd7907f
child 4764:a754f7e380b2
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