diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-07-21 19:02:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 19:02:47 +0200 |
commit | 45816e841018387df944b393abe2f2c9400c021b (patch) | |
tree | a863ecf12fe59e8dee914b7ebe99d2b16ef4f166 | |
parent | e4a86478e60d7a181dbf05ec9ba4d424ad91777b (diff) | |
parent | 58fd0749de3a19d266fb9d07d4eb188a96b8245e (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.lua | 7 |
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")) |