summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-xinetd/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-xinetd/htdocs/luci-static')
-rw-r--r--applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js b/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
index 58364e136d..7550f2699f 100644
--- a/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
+++ b/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
@@ -96,7 +96,7 @@ return view.extend({
};
o = s.taboption('basic', form.DynamicList, 'only_from', _('Allowed hosts'), _('List of allowed hosts to access this service'));
- o.datatype = 'host';
+ o.datatype = 'or(ipaddr,ip6addr)';
o.cast = 'string';
o.modalonly = true;
@@ -154,7 +154,7 @@ return view.extend({
// Advanced settings
o = s.taboption('advanced', form.DynamicList, 'no_access', _('Forbidden hosts'), _('List of forbidden hosts to access this service'));
- o.datatype = 'host';
+ o.datatype = 'or(ipaddr,ip6addr)';
o.cast = 'string';
o.modalonly = true;