diff options
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js index 0894d3d4d1..19edbd3756 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js @@ -33,7 +33,7 @@ return baseclass.extend({ var cfg = uci.add('dhcp', 'host'); uci.set('dhcp', cfg, 'name', lease.hostname); uci.set('dhcp', cfg, 'ip', lease.ipaddr); - uci.set('dhcp', cfg, 'mac', lease.macaddr.toUpperCase()); + uci.set('dhcp', cfg, 'mac', [lease.macaddr.toUpperCase()]); return uci.save() .then(L.bind(L.ui.changes.init, L.ui.changes)) |