diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-07-03 08:57:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 08:57:08 +0200 |
commit | 61ca9e19c6157c19d04018ee8dee16c09e30daed (patch) | |
tree | 45ade7de059d16b4e357dcb8ef98649fdd66bfe0 | |
parent | 2d1d855256c8a627c6f546fe08f0208e505f80a3 (diff) | |
parent | 0dec930dd471388ddcaf448e25b12365db1433e0 (diff) |
Merge pull request #2811 from TDT-AG/pr/20190701-luci-proto-qmi
luci-proto-qmi: add missing mtu option
-rw-r--r-- | protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua b/protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua index 9cc1ae0cf5..383bc4662f 100644 --- a/protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua +++ b/protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua @@ -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)" |