liquid_feedback_frontend
changeset 1202:30b3bf5db1bb
Fixed listening to non-local IPv4 interfaces
author | bsw |
---|---|
date | Sun Jul 12 20:46:57 2015 +0200 (2015-07-12) |
parents | ccc357ccb68c |
children | 6f2c0eb25773 |
files | app/main/_prefork/10_init.lua |
line diff
1.1 --- a/app/main/_prefork/10_init.lua Tue Jun 23 19:58:17 2015 +0200 1.2 +++ b/app/main/_prefork/10_init.lua Sun Jul 12 20:46:57 2015 +0200 1.3 @@ -57,7 +57,7 @@ 1.4 listen_options[#listen_options+1] = { proto = "tcp", host = host, port = config.port } 1.5 end 1.6 if config.ipv6 ~= "only" then 1.7 - local host = config.localhost and "127.0.0.1" or "::" 1.8 + local host = config.localhost and "127.0.0.1" or "0.0.0.0" 1.9 listen_options[#listen_options+1] = { proto = "tcp", host = host, port = config.port } 1.10 end 1.11