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_network
/
dhcp.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
index
4dc52ad
..
572446f
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
@@
-135,7
+135,7
@@
rd = s:taboption("general", DynamicList, "rebind_domain",
translate("List of domains to allow RFC1918 responses for"))
rd:depends("rebind_protection", "1")
-rd.datatype = "host"
+rd.datatype = "host
(1)
"
rd.placeholder = "ihost.netflix.com"