luci-proto-qmi: add missing mtu option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2019-06-27 14:59:14 +02:00
parent 1745f2cc1d
commit 0dec930dd4

View file

@ -4,7 +4,7 @@
local map, section, net = ...
local device, apn, pincode, username, password
local auth, ipv6, delay
local auth, ipv6, delay, mtu
device = section:taboption("general", Value, "device", translate("Modem device"))
@ -57,3 +57,7 @@ delay = section:taboption("advanced", Value, "delay",
translate("Maximum amount of seconds to wait for the modem to become ready"))
delay.placeholder = "10"
delay.datatype = "min(1)"
mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU"))
mtu.placeholder = "1500"
mtu.datatype = "max(9200)"