luci-mod-network: handle multiple mac for static lease
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 8 Oct 2020 00:43:29 +0000 (02:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 8 Jul 2021 06:27:20 +0000 (08:27 +0200)
commit7b931da4779c68f5aef5908286c2ae5283d2dece
tree43b54fedf08b3c65e62c95e04fdf64129ee6698a
parent9eb2efd14177eb558d11c45201b4e0d784861fda
luci-mod-network: handle multiple mac for static lease

The mac section for the static lease doesn't correctly handle when multiple mac are set for a rule.
Fixes: #4291
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 6c9a6c334e2fa55f4b64b64b85e0b104f0b99037)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js