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

Add choice between ping or dns to omr-tracker

This commit is contained in:
Ycarus 2018-03-01 14:56:02 +01:00
parent 7b94b8742e
commit 8eb08542c0
4 changed files with 61 additions and 26 deletions

View file

@ -23,6 +23,9 @@ o.default = "2"
o.datatype = "range(1, 100)"
o.rmempty = false
o = s:option(Value, "type", translate("Type"))
o:value("ping","ping")
o:value("dns","dns")
o = s:option(DynamicList, "hosts", translate("Hosts"))
o.placeholder = "4.2.2.1"