luci-mod-system: validate log_ip as "host" instead of just ipaddr
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 4 Nov 2019 03:03:13 +0000 (03:03 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 4 Nov 2019 03:03:13 +0000 (03:03 +0000)
commita32190c0b2ae0587647618cbef69e287b1569c09
tree03e59a97bedc7844d3e9af12744ab2300ddbafe7
parent50788da24e87bf2298dd7a2cebb13f533a8a6616
luci-mod-system: validate log_ip as "host" instead of just ipaddr

Fixes FS#2444

A replicate of commit 90051b685 on master branch

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua