diff options
Diffstat (limited to 'modules')
-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 2583879955..87697a8a43 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() { |