gluon-core: add OWE MAC-assignment

Fixes commit 6692095f9d
This commit is contained in:
David Bauer 2020-04-11 15:12:27 +02:00
parent c4d70f29e6
commit c5f43add3d

View File

@ -181,11 +181,11 @@ end
-- IDs defined so far: -- IDs defined so far:
-- 0: client0; WAN -- 0: client0; WAN
-- 1: mesh0 -- 1: mesh0
-- 2: (unused) -- 2: owe0
-- 3: wan_radio0 (private WLAN); batman-adv primary address -- 3: wan_radio0 (private WLAN); batman-adv primary address
-- 4: client1; LAN -- 4: client1; LAN
-- 5: mesh1 -- 5: mesh1
-- 6: (unused) -- 6: owe1
-- 7: wan_radio1 (private WLAN); mesh VPN -- 7: wan_radio1 (private WLAN); mesh VPN
function M.generate_mac(i) function M.generate_mac(i)
if i > 7 or i < 0 then return nil end -- max allowed id (0b111) if i > 7 or i < 0 then return nil end -- max allowed id (0b111)