diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-11-03 02:12:07 +0000 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-11-04 02:19:06 +0000 |
commit | 90051b6858c002ff146bb77457f86f172f88f9e4 (patch) | |
tree | 6e500493b8057f0f9f9c0d1f12915570db82428d /modules/luci-mod-system/htdocs/luci-static | |
parent | b83374b3401d33f1f1bc40bbb367991cc34cc918 (diff) |
luci-mod-system: validate log_ip as "host" instead of just ipaddr
Fixes FS#2444
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |