From 90051b6858c002ff146bb77457f86f172f88f9e4 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sun, 3 Nov 2019 02:12:07 +0000 Subject: luci-mod-system: validate log_ip as "host" instead of just ipaddr Fixes FS#2444 Signed-off-by: Yousong Zhou --- .../luci-mod-system/htdocs/luci-static/resources/view/system/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view') diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js index ccc9342cc6..8ac119b624 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js @@ -142,7 +142,7 @@ return L.view.extend({ o = s.taboption('logging', form.Value, 'log_ip', _('External system log server')) o.optional = true o.placeholder = '0.0.0.0' - o.datatype = 'ipaddr' + o.datatype = 'host' o = s.taboption('logging', form.Value, 'log_port', _('External system log server port')) o.optional = true -- cgit v1.2.3