From 1bfc26ba0adf215121c0651c789fb71f95fb6f3b Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Mar 2009 14:59:28 +0000 Subject: net.connlisteners: Allow listeners to specify default interface --- net/connlisteners.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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; -- cgit v1.2.3