diff options
author | aleem-tectonic <aleem@tectonic.it> | 2019-06-26 15:02:22 +0100 |
---|---|---|
committer | aleem-tectonic <aleem@tectonic.it> | 2019-06-26 15:02:22 +0100 |
commit | d9ff6721efe32995b0da0bc6d5aa6be16fea39e6 (patch) | |
tree | 767492a14308ddc7b192c3603a917c4b66bbb314 | |
parent | 1aa13ed51ed1c1b62b1ed296383907d953a62698 (diff) |
add dialnum option
Signed-off-by: geekinaboxx <aleem@tectonic.it>
-rw-r--r-- | protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua | 6 |
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") |