summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua4
-rw-r--r--applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
index 0eda5d83e..2496259ba 100644
--- a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
+++ b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
@@ -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
diff --git a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua
index e967ce628..b86b06cf1 100644
--- a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua
+++ b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua
@@ -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"