From e7da25c19a51b0591a53cf6b43d226187b1993f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20B=C3=B6ddeker?= <freifunk@kb-light.de> Date: Mon, 6 Feb 2017 15:22:29 +0100 Subject: [PATCH] ffho-debug: br-client -> local-node --- ffho/ffho-debug/luasrc/bin/ffho-debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffho/ffho-debug/luasrc/bin/ffho-debug b/ffho/ffho-debug/luasrc/bin/ffho-debug index 7bf9152..e2e2f16 100755 --- a/ffho/ffho-debug/luasrc/bin/ffho-debug +++ b/ffho/ffho-debug/luasrc/bin/ffho-debug @@ -33,7 +33,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 -- GitLab