diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2023-01-15 10:09:30 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2023-01-15 10:09:30 +0200 |
commit | 8673aef8db90b2ae276b9323f23d078cc68f4189 (patch) | |
tree | 8db7cd7b80008af141d9dd1aa2aadab041a737fa /modules/luci-mod-network/htdocs/luci-static/resources/view | |
parent | eda3c14e9fa062bd829d02aebb8b27344a68ac8e (diff) |
luci-mod-network: remove uciname validation from wireless interface
Remove the 'uciname' validation rule, as it prevents using '-' that
is a valid character.
Fixes: 0c1be9ae5 luci-mod-network: Add length restriction to wireless
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index de3eacff23..bdeaecf8a9 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1159,7 +1159,7 @@ return view.extend({ o = ss.taboption('advanced', form.Value, 'ifname', _('Interface name'), _('Override default interface name')); o.optional = true; - o.datatype = 'and(uciname,maxlength(15))'; + o.datatype = 'maxlength(15)'; o.placeholder = radioNet.getIfname(); if (/^radio\d+\.network/.test(o.placeholder)) o.placeholder = ''; |