projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
227fae8
)
luci-base: network.js: return mac addresses in upper case
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 31 Jul 2019 06:41:03 +0000
(08:41 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000
(22:58 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/network.js
b/modules/luci-base/htdocs/luci-static/resources/network.js
index 258387995533fbf388caacc2d9628c179bf23bcc..87697a8a43b733cc978faa9088c59fabf6c2ff07 100644
(file)
--- 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() {