summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-12-22 16:10:35 +0100
committerGitHub <noreply@github.com>2019-12-22 16:10:35 +0100
commit3970131a0989f600981c68e9c8d8b0b5bc9f154c (patch)
tree1473aa7c903462d4ab9dbf77f1618b426e4742d9
parent2096d67522e6622920d8d6aa1e0009769b392ef2 (diff)
parent1cab592bf93d16cea5e1ac33676cc91376b4636e (diff)
Merge pull request #3419 from TDT-AG/pr/20191218-luci-app-mwan3
luci-app-mwan3: minor fixes for httping selection
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua3
1 files changed, 1 insertions, 2 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 606b1ae76..bcbf03d54 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.rmempty = false
httping_ssl.default = httping_ssl.enabled
reliability = mwan_interface:option(Value, "reliability", translate("Tracking reliability"),
@@ -87,8 +88,6 @@ size:value("1016")
size:value("1472")
size:value("2040")
size.datatype = "range(1, 65507)"
-size.rmempty = false
-size.optional = false
max_ttl = mwan_interface:option(Value, "max_ttl", translate("Max TTL"))
max_ttl.default = "60"