aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 914a8e2f..c5bb936a 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -86,7 +86,9 @@ function activate_service(service_name)
local bind_ports = set.new(config.get("*", config_prefix.."ports")
or service_info.default_ports
- or {listener.default_port}); -- COMPAT w/pre-0.9
+ or {service_info.default_port
+ or listener.default_port -- COMPAT w/pre-0.9
+ });
local mode = listener.default_mode or "*a";
local ssl;