diff --git a/files/usr/local/bin/node-setup b/files/usr/local/bin/node-setup index 099f5545..a91fc810 100755 --- a/files/usr/local/bin/node-setup +++ b/files/usr/local/bin/node-setup @@ -434,7 +434,7 @@ if sf then if proto == "" then proto = "http" end - if link == "" then + if link == "0" then port = "0" end sf:write(string.format("%s://%s:%s/%s|tcp|%s\n", proto, host, port, sffx, name))