luci-mod-network: handle multiple mac for static lease 4501/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 8 Oct 2020 00:43:29 +0000 (02:43 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Thu, 8 Oct 2020 00:43:29 +0000 (02:43 +0200)
commit6c9a6c334e2fa55f4b64b64b85e0b104f0b99037
treec100603c39c5a8ab1547817b957284914d4aced8
parent1da9df837685b3a2afc80125d056e37198933533
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>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js