1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add a mode to only ping gateway

This commit is contained in:
Ycarus 2018-03-02 07:46:56 +01:00
parent bceb352e67
commit 33ddb440b8
2 changed files with 9 additions and 1 deletions

View file

@ -23,9 +23,10 @@ o.default = "2"
o.datatype = "range(1, 100)"
o.rmempty = false
o = s:option(ListValue, "type", translate("Type"))
o = s:option(ListValue, "type", translate("Type"), translate("Always ping gateway, then test connection by ping or dns. None mode only ping gateway"))
o:value("ping","ping")
o:value("dns","dns")
o:value("none","none")
o = s:option(DynamicList, "hosts", translate("Hosts"))
o.placeholder = "4.2.2.1"