summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-30 10:27:35 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-30 10:28:11 +0200
commitf1db82399ae7a1ac6cb58a5489dad51dc3a22c52 (patch)
treebf5c18041e77d3612c1694535cb3fc5ddfa3446f
parentcf887ba62f4a2aec06ec169eba3f3829967ee344 (diff)
luci-mod-system: allow IPv6 addresses for external syslog server
Fixes: #3126 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js2
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 6563bf463..492784cc9 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
@@ -141,7 +141,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 = 'ip4addr'
+ o.datatype = 'ipaddr'
o = s.taboption('logging', form.Value, 'log_port', _('External system log server port'))
o.optional = true