projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
validation: Add option ipv4only option to host and hostport datatypes
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
model
/
cbi
/
admin_system
/
system.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
index
94ba805
..
2874b56
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
@@
-204,7
+204,7
@@
if has_ntpd then
o = s:option(DynamicList, "server", translate("NTP server candidates"))
- o.datatype = "host"
+ o.datatype = "host
(0)
"
o:depends("enable", "1")
-- retain server list even if disabled