mirror of https://github.com/aredn/aredn.git
Fix url format for no-link service names
This commit is contained in:
parent
b17f52c27d
commit
9db60550d1
|
@ -434,7 +434,7 @@ if sf then
|
||||||
if proto == "" then
|
if proto == "" then
|
||||||
proto = "http"
|
proto = "http"
|
||||||
end
|
end
|
||||||
if link == "" then
|
if link == "0" then
|
||||||
port = "0"
|
port = "0"
|
||||||
end
|
end
|
||||||
sf:write(string.format("%s://%s:%s/%s|tcp|%s\n", proto, host, port, sffx, name))
|
sf:write(string.format("%s://%s:%s/%s|tcp|%s\n", proto, host, port, sffx, name))
|
||||||
|
|
Loading…
Reference in New Issue