summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-21 19:02:47 +0200
committerGitHub <noreply@github.com>2018-07-21 19:02:47 +0200
commit45816e841018387df944b393abe2f2c9400c021b (patch)
treea863ecf12fe59e8dee914b7ebe99d2b16ef4f166
parente4a86478e60d7a181dbf05ec9ba4d424ad91777b (diff)
parent58fd0749de3a19d266fb9d07d4eb188a96b8245e (diff)
Merge pull request #1980 from hanipouspilot/ncm-addpdp
luci-proto-ncm: add pdptype option
-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"))