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:31:10 +0000 (11:31 +0100)
commite67fe6d00a7f9547ea10365ecfebe5100d465c71
treee4237dec73d3943a75d83157fe8b9174b22676bc
parent9df7ea4d66644df69fcea18b36bc465912ffccbd
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>
(cherry picked from commit b60be8cfd82e83818013fafce00c9433e0c38376)
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js