summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ncm/luasrc
diff options
context:
space:
mode:
authorDmitry Tunin <hanipouspilot@gmail.com>2018-07-21 19:40:21 +0300
committerDmitry Tunin <hanipouspilot@gmail.com>2018-07-21 19:40:21 +0300
commit58fd0749de3a19d266fb9d07d4eb188a96b8245e (patch)
treea863ecf12fe59e8dee914b7ebe99d2b16ef4f166 /protocols/luci-proto-ncm/luasrc
parente4a86478e60d7a181dbf05ec9ba4d424ad91777b (diff)
luci-proto-ncm: add pdptype option
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Diffstat (limited to 'protocols/luci-proto-ncm/luasrc')
-rw-r--r--protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua7
1 files changed, 7 insertions, 0 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 4ac8d2ccc0..18621c146f 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
@@ -41,6 +41,13 @@ mode:value("gsm", translate("GPRS only"))
mode:value("auto", translate("auto"))
+mode = section:taboption("general", Value, "pdptype", translate("IP Protocol"))
+mode.default = "IP"
+mode:value("IP", translate("IPv4"))
+mode:value("IPV4V6", translate("IPv4+IPv6"))
+mode:value("IPV6", translate("IPv6"))
+
+
apn = section:taboption("general", Value, "apn", translate("APN"))