summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-11-19 10:24:09 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-11-19 10:39:50 +0100
commit8262e1272552db43cef527e5da88e6706d50e7a4 (patch)
tree57b1ce1182abc872e2a37dcb595bf6fa7b4ca9cb
parente55537e8a137123a05b58528e362892dad4ffe5a (diff)
luci-app-mwan3: switch on ssl tracking on httping selection
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
index d2d3b950a..606b1ae76 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
@@ -59,6 +59,7 @@ 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")
+httping_ssl.default = httping_ssl.enabled
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"))