From 96824a74d241b48cb0d966723dea6cf15cf70f39 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 10 Aug 2012 16:31:51 +0100 Subject: portmanager: Support 'local_interfaces' config option (default for private listeners like components, telnet, etc.) (thanks mva) --- core/portmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/portmanager.lua') diff --git a/core/portmanager.lua b/core/portmanager.lua index 4fa48420..8938be65 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -82,7 +82,7 @@ function activate(service_name) local bind_interfaces = config.get("*", config_prefix.."interfaces") or config.get("*", config_prefix.."interface") -- COMPAT w/pre-0.9 - or (service_info.private and default_local_interfaces) + or (service_info.private and (config.get("*", "local_interfaces") or default_local_interfaces)) or config.get("*", "interfaces") or config.get("*", "interface") -- COMPAT w/pre-0.9 or listener.default_interface -- COMPAT w/pre0.9 -- cgit v1.2.3