Skip to content
Snippets Groups Projects
Unverified Commit 6f0d9f1e authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-status-page: fix typo in comment

parent 2ef34bdd
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,7 @@ entry({}, call(function(http, renderer) ...@@ -69,8 +69,7 @@ entry({}, call(function(http, renderer)
match(node_ip, parse_ip(site.next_node.ip6()), 8) match(node_ip, parse_ip(site.next_node.ip6()), 8)
) then ) then
-- The user has visited the status page via a next-node address -- The user has visited the status page via a next-node address
-- Redirect the user the a unique address to avoid switching -- Redirect the user to a unique address to avoid switching nodes
-- nodes
local prefix = parse_ip(site.prefix6():match('^[^/]+')) local prefix = parse_ip(site.prefix6():match('^[^/]+'))
for _, addr in ipairs(nodeinfo.network.addresses) do for _, addr in ipairs(nodeinfo.network.addresses) do
if match(prefix, parse_ip(addr), 4) then if match(prefix, parse_ip(addr), 4) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment