projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
[project/luci.git]
/
protocols
/
luci-proto-3g
/
luasrc
/
model
/
cbi
/
admin_network
/
proto_3g.lua
diff --git
a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua
b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua
index e05e3a47fd2a6000de6efa318b565cd8db3b1205..85c5cd60421d378376896d975a46c56defddf9ec 100644
(file)
--- a/
protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua
+++ b/
protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua
@@
-4,7
+4,7
@@
local map, section, net = ...
local device, apn, service, pincode, username, password, dialnumber
local map, section, net = ...
local device, apn, service, pincode, username, password, dialnumber
-local ipv6,
maxwait
, defaultroute, metric, peerdns, dns,
+local ipv6,
delay
, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
keepalive_failure, keepalive_interval, demand
@@
-58,12
+58,12
@@
if luci.model.network:has_ipv6() then
end
end
-
maxwait = section:taboption("advanced", Value, "maxwait
",
+
delay = section:taboption("advanced", Value, "delay
",
translate("Modem init timeout"),
translate("Maximum amount of seconds to wait for the modem to become ready"))
translate("Modem init timeout"),
translate("Maximum amount of seconds to wait for the modem to become ready"))
-
maxwait.placeholder = "2
0"
-
maxwait
.datatype = "min(1)"
+
delay.placeholder = "1
0"
+
delay
.datatype = "min(1)"
defaultroute = section:taboption("advanced", Flag, "defaultroute",
defaultroute = section:taboption("advanced", Flag, "defaultroute",