projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-proto-3g: add dialnumber option
[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
9c1a762
..
5a73396
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
@@
-12,7
+12,7
@@
You may obtain a copy of the License at
local map, section, net = ...
local map, section, net = ...
-local device, apn, service, pincode, username, password
+local device, apn, service, pincode, username, password
, dialnumber
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
@@
-51,6
+51,8
@@
username = section:taboption("general", Value, "username", translate("PAP/CHAP u
password = section:taboption("general", Value, "password", translate("PAP/CHAP password"))
password.password = true
password = section:taboption("general", Value, "password", translate("PAP/CHAP password"))
password.password = true
+dialnumber = section:taboption("general", Value, "dialnumber", translate("Dial number"))
+dialnumber.placeholder = "*99***1#"
if luci.model.network:has_ipv6() then
if luci.model.network:has_ipv6() then