# HG changeset patch # User Matthew Wild # Date 1344612711 -3600 # Node ID 71a5a6a6c74cad000d8fadfd3c13759264d7fd6a # Parent cbc7eb5cfa8c1f2159cf340abdd76f98895a7b4b portmanager: Support 'local_interfaces' config option (default for private listeners like components, telnet, etc.) (thanks mva) diff -r cbc7eb5cfa8c -r 71a5a6a6c74c core/portmanager.lua --- a/core/portmanager.lua Wed Aug 08 11:49:31 2012 +0100 +++ b/core/portmanager.lua Fri Aug 10 16:31:51 2012 +0100 @@ -82,7 +82,7 @@ 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