summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-12-12 10:32:38 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-12-18 11:44:59 +0100
commit93ff9ef2ee6db2ca6fa7046113caf46e1c561bfb (patch)
treeddb837342af65fe53499a9b11b64e48fbadad100 /applications/luci-app-mwan3/luasrc/model
parentdaeeb4285f79c8237e421b9f56dd4fe9a68e489e (diff)
luci-app-mwan3: fix require field message if httping is selected
If these two values are not removed, then httping cannot be selected as the tracking method. The field size is a must field for ping but it is not displayed because httping does not need it. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model')
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua2
1 files changed, 0 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 606b1ae766..d3a367a308 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
@@ -87,8 +87,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"