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:
Paul Donald
2025-11-02 02:27:35 +01:00
parent f9e6538c4c
commit a8f18e7e23

View File

@@ -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;