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>
This commit is contained in:
Florian Eckert 2019-12-12 10:32:38 +01:00
parent daeeb4285f
commit 93ff9ef2ee

View file

@ -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"