luci-app-mwan3: switch on ssl tracking on httping selection
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 19 Nov 2019 09:24:09 +0000 (10:24 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 19 Nov 2019 09:39:50 +0000 (10:39 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua

index d2d3b950a8158c4f1c2981f41acad913dcfb09ef..606b1ae7666c6ac49d524c180825826e9cf7e52d 100644 (file)
@@ -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"))