diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-22 14:59:28 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-22 14:59:28 +0000 |
commit | 1bfc26ba0adf215121c0651c789fb71f95fb6f3b (patch) | |
tree | 3dd3f3cd80a2a8d0fc2658c746888aeb27ea8c46 /net | |
parent | ecf8df36d0a59d209f295ba4ae2a1ba7a97a1251 (diff) | |
download | prosody-1bfc26ba0adf215121c0651c789fb71f95fb6f3b.tar.gz prosody-1bfc26ba0adf215121c0651c789fb71f95fb6f3b.zip |
net.connlisteners: Allow listeners to specify default interface
Diffstat (limited to 'net')
-rw-r--r-- | net/connlisteners.lua | 2 |
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; |