treewide: fix datetype/datatype typo
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Jun 2019 14:54:04 +0000 (17:54 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Jun 2019 14:54:04 +0000 (17:54 +0300)
Fix 'datetype' typo.

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

index 0eda5d83e0fd156c7edfcd8ce8c8f6e94f70c0c8..2496259bad9f111601bb13797955bdd4c473860f 100644 (file)
@@ -190,7 +190,7 @@ o.optional = false
 
 o = s:option(Value, "hostname", translate("Hostname or address of UPS"))
 o.optional = false
-s.datetype = "host"
+s.datatype = "host"
 
 o = s:option(Value, "port", translate("Port"))
 o.optional = true
@@ -219,7 +219,7 @@ o.optional = false
 
 o = s:option(Value, "hostname", translate("Hostname or address of UPS"))
 o.optional = false
-s.datetype = "host"
+s.datatype = "host"
 
 o = s:option(Value, "port", translate("Port"))
 o.optional = true
index e967ce628304d538e5d68e7175ca9fd3038fc6e7..b86b06cf1a730fd9d13387a4506de888fdbf5f5b 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"