From: Dmitry Tunin Date: Sat, 21 Jul 2018 16:40:21 +0000 (+0300) Subject: luci-proto-ncm: add pdptype option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F1980%2Fhead;p=project%2Fluci.git luci-proto-ncm: add pdptype option Signed-off-by: Dmitry Tunin --- 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"))