diff options
Diffstat (limited to 'protocols/luci-proto-ncm')
-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") |