mirror of https://github.com/aredn/aredn.git
bugfix: force sysinfo.json mac addresses to uppercase
Change-Id: Ib62e758a30b8d68064e76e4a0e61b01c37820f49
This commit is contained in:
parent
f65482a74c
commit
39ebd6b45e
|
@ -160,7 +160,7 @@ for pos, i in pairs(ift) do
|
|||
nim['name']=i.name
|
||||
ipv4=tostring(i.ipaddrs[1])
|
||||
nim['ip']=ipFromCIDR(ipv4)
|
||||
nim['mac']=i.macaddr
|
||||
nim['mac']=i.macaddr:upper()
|
||||
table.insert(tif,nim)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue