Bladeren bron

ffho-status-page: roles of br-client and local-node have switched

Karsten Böddeker 7 jaren geleden
bovenliggende
commit
59762909a4
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status

+ 1 - 1
ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status

@@ -30,7 +30,7 @@ end
 local addresses = ""
 for line in io.lines('/proc/net/if_inet6') do
   local matches = { line:match('^' .. string.rep('(%x%x%x%x)', 8) .. string.rep(' %x%x', 4) .. '%s+([^%s]+)$') }
-  if matches[9] == 'br-client' then
+  if matches[9] == 'local-node' then
     addresses = addresses .. "             " .. ip.IPv6(string.format('%s:%s:%s:%s:%s:%s:%s:%s', unpack(matches))):string():lower() .. "\n"
   end
 end