summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nut/luasrc/model/cbi
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-nut/luasrc/model/cbi')
-rw-r--r--applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua4
1 files changed, 2 insertions, 2 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 0eda5d83e0..2496259bad 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