Commit 6a8793c1 authored by Ted Trask's avatar Ted Trask

Bug fix if listen_addresses not defined

parent 39d5873e
......@@ -55,7 +55,7 @@ end
local determineconnection = function()
-- Determine the connection parameters from the config files
local listen_addresses = getconfvalue("listen_addresses")
if listen_addresses == "" or listen_addresses == "*" or listen_addresses == "localhost" then
if not listen_addresses or listen_addresses == "" or listen_addresses == "*" or listen_addresses == "localhost" then
listen_addresses = ""
elseif string.find(listen_addresses, "'") then
listen_addresses = string.match(listen_addresses, "[^']+")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment