Fix url format for no-link service names

This commit is contained in:
Tim Wilkinson 2022-03-07 11:05:55 -08:00 committed by Joe AE6XE
parent b17f52c27d
commit 9db60550d1
1 changed files with 1 additions and 1 deletions

View File

@ -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))