diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-12-12 10:32:38 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-12-18 11:44:59 +0100 |
commit | 93ff9ef2ee6db2ca6fa7046113caf46e1c561bfb (patch) | |
tree | ddb837342af65fe53499a9b11b64e48fbadad100 /applications/luci-app-mwan3/luasrc/model | |
parent | daeeb4285f79c8237e421b9f56dd4fe9a68e489e (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.lua | 2 |
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" |