luci-mod-system: validate log_ip as "host" instead of just ipaddr
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 3 Nov 2019 02:12:07 +0000 (02:12 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 4 Nov 2019 02:58:58 +0000 (02:58 +0000)
commita1e70b9534f10485867dbc789e417faebc956dcb
treef1d3114f5d1d83c914c04cef735e95bed9efed70
parentfafda7c34f89539f5ac474240ef42052b21b42fd
luci-mod-system: validate log_ip as "host" instead of just ipaddr

Fixes FS#2444

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 90051b6858c002ff146bb77457f86f172f88f9e4)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js