X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_network%2Flease_status.htm;fp=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_network%2Flease_status.htm;h=28a37dcd98a61a18e34d0e27731578ab9f1be425;hp=ea6ee91c7146f8e32a61a3b6c04e0b50a8e5f133;hb=96f6a79eb2c3373797f50fc8b0fde45e95b01a62;hpb=93c830869dde03c726180482554d47b3d3a3cf4b diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm index ea6ee91c7..28a37dcd9 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm @@ -5,7 +5,7 @@ return duid.substr(16).replace(/(..)(?=..)/g, '$1:').toUpperCase(); // DUID-LL / Ethernet - if (duid.length === 24 && duid.substr(0, 8) === '00030001') + if (duid.length === 20 && duid.substr(0, 8) === '00030001') return duid.substr(8).replace(/(..)(?=..)/g, '$1:').toUpperCase(); return null;