Changeset

6257:3ae0d518b739

mod_dnsupdate: Check if multiplexing is enabled Replaces undocumented option
author Kim Alvefur <zash@zash.se>
date Mon, 12 May 2025 12:39:59 +0200
parents 6256:62adec551585
children 6258:86989059de5b
files mod_dnsupdate/mod_dnsupdate.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_dnsupdate/mod_dnsupdate.lua	Mon May 12 12:19:13 2025 +0200
+++ b/mod_dnsupdate/mod_dnsupdate.lua	Mon May 12 12:39:59 2025 +0200
@@ -92,7 +92,7 @@
 		configured_ports["xmpps-server"] = {};
 	end
 
-	if opts.multiplex then
+	if modules_enabled:contains("net_multiplex") then
 		for opt, ports in pairs(configured_ports) do
 			ports:append(module:get_option_array(opt:sub(1, 5) == "xmpps" and "ssl_ports" or "ports", {}));
 		end