Skip to content
Snippets Groups Projects
Commit 215e37aa authored by sapier's avatar sapier Committed by PilzAdam
Browse files

Show portnumber for ip adresses only

parent a59f85c1
No related branches found
No related tags found
No related merge requests found
......@@ -34,15 +34,13 @@ function menu.render_favorite(spec,render_details)
else
if spec.address ~= nil then
text = text .. spec.address:trim()
if spec.port ~= nil then
text = text .. ":" .. spec.port
end
end
end
if spec.port ~= nil and
spec.port ~= 30000 then
text = text .. ":" .. spec.port
end
if not render_details then
return text
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment