mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
luci-mod-status: use the (upper case) return value when stashing the DUID
Closes #8056 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -97,8 +97,7 @@ return baseclass.extend({
|
||||
if (host.duid) {
|
||||
if (Array.isArray(host.duid)){
|
||||
host.duid.map(m => {
|
||||
m.toUpperCase();
|
||||
this.isDUIDStatic[m] = true;
|
||||
this.isDUIDStatic[m.toUpperCase()] = true;
|
||||
})
|
||||
} else {
|
||||
this.isDUIDStatic[host.duid.toUpperCase()] = true;
|
||||
|
||||
Reference in New Issue
Block a user