Merge pull request #2811 from TDT-AG/pr/20190701-luci-proto-qmi

luci-proto-qmi: add missing mtu option
This commit is contained in:
Florian Eckert 2019-07-03 08:57:08 +02:00 committed by GitHub
commit 61ca9e19c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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