luci-app-firewall: properly handle custom multi IP/MAC input
authorJo-Philipp Wich <jo@mein.io>
Fri, 19 Feb 2021 10:29:14 +0000 (11:29 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 19 Feb 2021 10:29:14 +0000 (11:29 +0100)
commitb60be8cfd82e83818013fafce00c9433e0c38376
treedfbcb43e4c9d91f62a38dfbc4949531f17b1c068
parentb8d2bcd432ab23a883de1dd4fbce29f9751a6e84
luci-app-firewall: properly handle custom multi IP/MAC input

Store multiple space separated custom address values as separate uci
list items in the configuration.

Fixes: #4822
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js