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
index 94ba805..2874b56 100644 (file)
@@ -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