aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-22 14:59:28 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-22 14:59:28 +0000
commit1bfc26ba0adf215121c0651c789fb71f95fb6f3b (patch)
tree3dd3f3cd80a2a8d0fc2658c746888aeb27ea8c46 /net
parentecf8df36d0a59d209f295ba4ae2a1ba7a97a1251 (diff)
downloadprosody-1bfc26ba0adf215121c0651c789fb71f95fb6f3b.tar.gz
prosody-1bfc26ba0adf215121c0651c789fb71f95fb6f3b.zip
net.connlisteners: Allow listeners to specify default interface
Diffstat (limited to 'net')
-rw-r--r--net/connlisteners.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connlisteners.lua b/net/connlisteners.lua
index 0e43bd24..48101752 100644
--- a/net/connlisteners.lua
+++ b/net/connlisteners.lua
@@ -59,7 +59,7 @@ function start(name, udata)
return server.addserver(h,
(udata and udata.port) or h.default_port or error("Can't start listener "..name.." because no port was specified, and it has no default port", 0),
- (udata and udata.interface) or "*", (udata and udata.mode) or h.default_mode or 1, (udata and udata.ssl) or nil, 99999999, udata and udata.type == "ssl");
+ (udata and udata.interface) or h.default_interface or "*", (udata and udata.mode) or h.default_mode or 1, (udata and udata.ssl) or nil, 99999999, udata and udata.type == "ssl");
end
return _M;