diff options
author | Fritz D. Ansel <fdansel@yandex.ru> | 2021-08-02 20:35:38 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2021-08-17 10:28:05 +0200 |
commit | f4c3b012dbe63013072afd9063580b4e185bddd4 (patch) | |
tree | 9aec601e8a82e2131573393091b217dd0074f2ca /applications/luci-app-xinetd/htdocs | |
parent | 0402de12c4d4b7bf630fc342a62266a046b06f57 (diff) |
luci-app-xinetd: ipv6 support for host fields
Change datatype to allow ipv4 and ipv6.
Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
Change commit message
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-xinetd/htdocs')
-rw-r--r-- | applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js | 4 |
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; |