# HG changeset patch # User Kim Alvefur # Date 1330732459 -3600 # Node ID 6f2789939d35a45ae017d52159c554c1a9540de9 # Parent 542afb9c2ab1f6490c313c5fef2d77b25fac86c1 core.portmanager: Make sure the private flag takes precedence over global interfaces diff -r 542afb9c2ab1 -r 6f2789939d35 core/portmanager.lua --- a/core/portmanager.lua Sat Mar 03 00:32:57 2012 +0100 +++ b/core/portmanager.lua Sat Mar 03 00:54:19 2012 +0100 @@ -62,9 +62,9 @@ local bind_interfaces = set.new(config.get("*", service_name.."_interfaces") or config.get("*", service_name.."_interface") -- COMPAT w/pre-0.9 + or (service_info.private and default_local_interfaces) or config.get("*", "interfaces") or config.get("*", "interface") -- COMPAT w/pre-0.9 - or (service_info.private and default_local_interfaces) or service_info.default_interface -- COMPAT w/pre0.9 or default_interfaces);