diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-07-31 08:41:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-14 22:58:15 +0200 |
commit | e64b0c3c0d1707b820f2cc5203d3017574cfa5a6 (patch) | |
tree | 047410aa7efc984d3a5a922aeb9acfa6c5bdbf21 /modules/luci-base/htdocs | |
parent | 227fae8a378826bcacd6fb118385bcff15278173 (diff) |
luci-base: network.js: return mac addresses in upper case
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/network.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js index 258387995..87697a8a4 100644 --- a/modules/luci-base/htdocs/luci-static/resources/network.js +++ b/modules/luci-base/htdocs/luci-static/resources/network.js @@ -1598,7 +1598,8 @@ Device = L.Class.extend({ }, getMAC: function() { - return this._ubus('macaddr'); + var mac = this._ubus('macaddr'); + return mac ? mac.toUpperCase() : null; }, getIPAddrs: function() { |