summaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-16 20:51:02 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-16 20:51:02 +0100
commitbba6454b8f781e8406b18d67c4d760e96730ea90 (patch)
treeaa298f3a4624f5d9295cf2e8688cb574cc70263a /protocols
parent224325a36d57b4146458084f64408eaab0b939f4 (diff)
parentb34c9ae639493fc09988718695de6d0fa2f42b52 (diff)
Merge pull request #294 from luizluca/luci-proto-3g_add-dialnumber
luci-proto-3g: add dialnumber option
Diffstat (limited to 'protocols')
-rw-r--r--protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua4
1 files changed, 3 insertions, 1 deletions
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 9c1a76282..5a73396be 100644
--- 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 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
@@ -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
+dialnumber = section:taboption("general", Value, "dialnumber", translate("Dial number"))
+dialnumber.placeholder = "*99***1#"
if luci.model.network:has_ipv6() then