From 277610bf27fdfea07fb5f7c9c0e6f73db5de6827 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Fri, 14 Oct 2022 13:29:40 -0700 Subject: [PATCH] Fix new mac extraction code in LQM was breaking for tunnels (#525) --- files/usr/local/bin/mgr/lqm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/mgr/lqm.lua b/files/usr/local/bin/mgr/lqm.lua index e1c24e1b..9c58b0f4 100755 --- a/files/usr/local/bin/mgr/lqm.lua +++ b/files/usr/local/bin/mgr/lqm.lua @@ -231,7 +231,7 @@ function lqm() -- Know our macs so we can exclude them local our_macs = {} for _, i in ipairs(nixio.getifaddrs()) do - if i.family == "packet" then + if i.family == "packet" and i.addr then our_macs[i.addr] = true end end