Merge pull request #3298 from TDT-AG/pr/20191113-luci-app-mwan3
luci-app-mwan3: add new httping_ssl option
This commit is contained in:
commit
b1cb0d6d59
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@ local track_method, reliability, count, size, max_ttl
|
||||||
local check_quality, failure_latency, failure_loss, recovery_latency
|
local check_quality, failure_latency, failure_loss, recovery_latency
|
||||||
local recovery_loss, timeout, interval, failure
|
local recovery_loss, timeout, interval, failure
|
||||||
local keep_failure, recovery, down, up, flush, metric
|
local keep_failure, recovery, down, up, flush, metric
|
||||||
|
local httping_ssl
|
||||||
|
|
||||||
arg[1] = arg[1] or ""
|
arg[1] = arg[1] or ""
|
||||||
|
|
||||||
|
@ -55,6 +56,10 @@ if os.execute("which httping 1>/dev/null") == 0 then
|
||||||
track_method:value("httping")
|
track_method:value("httping")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
httping_ssl = mwan_interface:option(Flag, "httping_ssl", translate("Enable ssl tracking"),
|
||||||
|
translate("Enables https tracking on ssl port 443"))
|
||||||
|
httping_ssl:depends("track_method", "httping")
|
||||||
|
|
||||||
reliability = mwan_interface:option(Value, "reliability", translate("Tracking reliability"),
|
reliability = mwan_interface:option(Value, "reliability", translate("Tracking reliability"),
|
||||||
translate("Acceptable values: 1-100. This many Tracking IP addresses must respond for the link to be deemed up"))
|
translate("Acceptable values: 1-100. This many Tracking IP addresses must respond for the link to be deemed up"))
|
||||||
reliability.datatype = "range(1, 100)"
|
reliability.datatype = "range(1, 100)"
|
||||||
|
|
Loading…
Reference in a new issue