aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-03 01:12:16 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-03 01:12:16 +0000
commit70d52039207bfec821b6d30046802e9615843c33 (patch)
tree8f9d31409a96454dcd8a82185d2c76e39ba810d4 /core
parent0a43ddb0f8c91982fba926e2d2f4fe9828198e6e (diff)
parent71528cdc3726be326d6a0afb76f490b7d3c4fcc6 (diff)
downloadprosody-70d52039207bfec821b6d30046802e9615843c33.tar.gz
prosody-70d52039207bfec821b6d30046802e9615843c33.zip
Merge with Zash
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 353c4a89..3d6dada4 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -62,9 +62,9 @@ function activate_service(service_name)
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);