gluon-status-page: fix typo in comment
This commit is contained in:
parent
2ef34bddca
commit
6f0d9f1e2d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user