summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ncm
diff options
context:
space:
mode:
authoraleem-tectonic <aleem@tectonic.it>2019-06-26 15:02:22 +0100
committeraleem-tectonic <aleem@tectonic.it>2019-06-26 15:02:22 +0100
commitd9ff6721efe32995b0da0bc6d5aa6be16fea39e6 (patch)
tree767492a14308ddc7b192c3603a917c4b66bbb314 /protocols/luci-proto-ncm
parent1aa13ed51ed1c1b62b1ed296383907d953a62698 (diff)
add dialnum option
Signed-off-by: geekinaboxx <aleem@tectonic.it>
Diffstat (limited to 'protocols/luci-proto-ncm')
-rw-r--r--protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua b/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua
index 318db7e77..3fe4ef33a 100644
--- a/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua
+++ b/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.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, dialnum
local ipv6, delay, defaultroute, metric, peerdns, dns
@@ -57,6 +57,10 @@ password = section:taboption("general", Value, "password", translate("PAP/CHAP p
password.password = true
+dialnum = section:taboption("general", Value, "dialnum", translate("Dial number"))
+dialnum.placeholder = "*99#"
+
+
if luci.model.network:has_ipv6() then
ipv6 = section:taboption("advanced", ListValue, "ipv6")