From 58fd0749de3a19d266fb9d07d4eb188a96b8245e Mon Sep 17 00:00:00 2001 From: Dmitry Tunin Date: Sat, 21 Jul 2018 19:40:21 +0300 Subject: luci-proto-ncm: add pdptype option Signed-off-by: Dmitry Tunin --- .../luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols') 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 4ac8d2ccc..18621c146 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")) -- cgit v1.2.3