luci-mod-network: improve static lease ip validation logic
authorPaul Donald <newtwen@gmail.com>
Thu, 25 Jan 2024 00:05:15 +0000 (01:05 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 25 Jan 2024 00:09:12 +0000 (01:09 +0100)
commitf6cbda00e77afc26c12da3c31e5f5444cee17422
tree214f6e1399c2f804f0ecf1c4d32c26bc9612a402
parent754b36d05ac26e1ddc68d8726e01faa38f9fe948
luci-mod-network: improve static lease ip validation logic

m (mac) is an array, and is zero length or greater.

Signed-off-by: Paul Donald <newtwen@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js