treewide: fix datetype/datatype typo
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Jun 2019 15:07:58 +0000 (18:07 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Jun 2019 15:07:58 +0000 (18:07 +0300)
Fix the "datetype" typo also in 17.01

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-aria2/luasrc/model/cbi/aria2.lua
applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua

index 3b61f95464d49b374d47b5facff3acc1e2b2ead3..93a25de0877734d2aef9539dde9e8a13542315b4 100644 (file)
@@ -135,7 +135,7 @@ o = s:taboption("task", Value, "max_concurrent_downloads", translate("Max concur
 o.placeholder = "5"
 
 o = s:taboption("task", Value, "max_connection_per_server", translate("Max connection per server"), "1-16")
-o.datetype = "range(1, 16)"
+o.datatype = "range(1, 16)"
 o.placeholder = "1"
 
 o = s:taboption("task", Value, "min_split_size", translate("Min split size"), "1M-1024M")
index ef15ed6127facf155621ebaf5912929081b856e2..e49835999d2fadc089a0ecaa007645714028e74c 100644 (file)
@@ -27,7 +27,7 @@ o.optional = true
 o.datatype = "uinteger"
 
 o = s:option(Value, "localip", translate("IP of listening side"))
-o.datetype = "ipaddr"
+o.datatype = "ipaddr"
 
 o = s:option(Value, "firstremoteip", translate("First remote IP"))
 o.datatype = "ipaddr"