aboutsummaryrefslogtreecommitdiffstats
path: root/net/httpserver.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/httpserver.lua')
-rw-r--r--net/httpserver.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 3a54fd62..0ed67909 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -278,7 +278,9 @@ function new_from_config(ports, handle_request, default_options)
ssl.protocol = "sslv23";
end
- new{ port = port, base = base, handler = handle_request, ssl = ssl, type = (ssl and "ssl") or "tcp" }
+ new{ port = port, interface = interface,
+ base = base, handler = handle_request,
+ ssl = ssl, type = (ssl and "ssl") or "tcp" };
end
end