luci-base: adds duid_to_mac to sys.lua
authorAnsuel Smith <ansuelsmth@gmail.com>
Sun, 2 Jun 2019 20:33:02 +0000 (22:33 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Mon, 3 Jun 2019 10:48:48 +0000 (12:48 +0200)
commit525d62ff333f23552ecdd2d177d64e41544869f9
tree2dcb4cebf7333df2a59adc199f47ca94b0c5e97d
parent4bbc033a968478d54a6c4bc2d8529abbfffdec6f
luci-base: adds duid_to_mac to sys.lua

Move duid_to_mac function from status.lua to sys.lua.
Implement translation from DUID-LL without header to MAC

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
modules/luci-base/luasrc/sys.lua
modules/luci-base/luasrc/tools/status.lua