plugins/mod_turn_external.lua
changeset 12294 aa7a8aa64d3f
parent 12287 b5686debb497
child 12441 9f5d0b77e3df
--- a/plugins/mod_turn_external.lua	Tue Feb 15 13:04:24 2022 +0100
+++ b/plugins/mod_turn_external.lua	Tue Feb 15 21:51:52 2022 +0100
@@ -6,7 +6,7 @@
 local port = module:get_option_number("turn_external_port", 3478);
 local ttl = module:get_option_number("turn_external_ttl", 86400);
 local tcp = module:get_option_boolean("turn_external_tcp", false);
-local tls_port = module:get_option_boolean("turn_external_tls_port");
+local tls_port = module:get_option_number("turn_external_tls_port");
 
 if not secret then error("mod_" .. module.name .. " requires that 'turn_external_secret' be set") end