Skip to content

Commit

Permalink
fix: add brackets around ipv6 address in msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
open-dynaMIX committed Dec 2, 2020
1 parent ffab15b commit 4aa95b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ local function init_servers()
end
if options.ipv6 then
local address = '::0'
servers[address] = socket.bind(address, options.port)
servers["["..address.."]"] = socket.bind(address, options.port)
end
if options.ipv4 then
local address = '0.0.0.0'
Expand Down

0 comments on commit 4aa95b6

Please sign in to comment.