Skip to content
Snippets Groups Projects
Commit 71cdd65f authored by Nils Schneider's avatar Nils Schneider
Browse files

Merge pull request #495 from aeickho/patch-4

add: info for 802.11s interface (mac)
parents a71ab2fb b465504a
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ end
-- (2, n): client interface for the n'th radio
-- (3, n): adhoc interface for n'th radio
-- (4, 0): mesh VPN
-- (5, n): mesh interface for n'th radio (802.11s)
function generate_mac(f, i)
local m1, m2, m3, m4, m5, m6 = string.match(sysconfig.primary_mac, '(%x%x):(%x%x):(%x%x):(%x%x):(%x%x):(%x%x)')
m1 = nixio.bit.bor(tonumber(m1, 16), 0x02)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment