From d9ff6721efe32995b0da0bc6d5aa6be16fea39e6 Mon Sep 17 00:00:00 2001 From: aleem-tectonic Date: Wed, 26 Jun 2019 15:02:22 +0100 Subject: add dialnum option Signed-off-by: geekinaboxx --- .../luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'protocols/luci-proto-ncm') 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") -- cgit v1.2.3