From: Florian Eckert Date: Thu, 12 Dec 2019 09:32:38 +0000 (+0100) Subject: luci-app-mwan3: fix require field message if httping is selected X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93ff9ef2ee6db2ca6fa7046113caf46e1c561bfb;p=project%2Fluci.git 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 --- 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"