luci-base: network.js: return mac addresses in upper case
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
227fae8a37
commit
e64b0c3c0d
1 changed files with 2 additions and 1 deletions
|
@ -1598,7 +1598,8 @@ Device = L.Class.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
getMAC: function() {
|
getMAC: function() {
|
||||||
return this._ubus('macaddr');
|
var mac = this._ubus('macaddr');
|
||||||
|
return mac ? mac.toUpperCase() : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
getIPAddrs: function() {
|
getIPAddrs: function() {
|
||||||
|
|
Loading…
Reference in a new issue