add dialnum option 2770/head
authoraleem-tectonic <aleem@tectonic.it>
Wed, 26 Jun 2019 14:02:22 +0000 (15:02 +0100)
committeraleem-tectonic <aleem@tectonic.it>
Wed, 26 Jun 2019 14:02:22 +0000 (15:02 +0100)
Signed-off-by: geekinaboxx <aleem@tectonic.it>
protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua

index 318db7e774a215aac81464ac5f5263b3fe4abbab..3fe4ef33aa41c2ad02cb7b49f8529f0913d93682 100644 (file)
@@ -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")