summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-watchcat/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-17 02:32:10 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-12-17 02:32:10 +0100
commit3dfa111db87de7c5059cb6521c6e05b7f56af195 (patch)
tree30c945fc8cf625ab5e8a2fbd841a5afe3d5c7d50 /applications/luci-app-watchcat/luasrc
parentcfd2b5d2a46da39938519947b7bd3206f374854a (diff)
parentc481f3f34325b9c1cf817b16a567a6b10fdd1f2e (diff)
Merge pull request #578 from cshore/pull-request-validator-rework
Pull request validator rework
Diffstat (limited to 'applications/luci-app-watchcat/luasrc')
-rw-r--r--applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua b/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua
index 883416b219..f64370bfe3 100644
--- a/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua
+++ b/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua
@@ -38,7 +38,7 @@ period = s:option(Value, "period",
pinghost = s:option(Value, "pinghosts",
translate("Ping host"),
translate("Host address to ping"))
-pinghost.datatype = "host"
+pinghost.datatype = "host(1)"
pinghost.default = "8.8.8.8"
pinghost:depends({mode="ping"})