summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/htdocs/luci-static/resources')
-rw-r--r--libs/web/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js
index d12d050a8a..2bcfb8c3df 100644
--- a/libs/web/htdocs/luci-static/resources/cbi.js
+++ b/libs/web/htdocs/luci-static/resources/cbi.js
@@ -141,7 +141,7 @@ var cbi_validators = {
},
'hostname': function(v)
- { if ( v.length <= 24 )
+ { if ( v.length <= 253 )
return (v.match(/^[a-zA-Z0-9][a-zA-Z0-9\-.]*[a-zA-Z0-9]$/) != null);
},