luci-proto-ncm: add pdptype option
authorDmitry Tunin <hanipouspilot@gmail.com>
Sat, 21 Jul 2018 16:40:21 +0000 (19:40 +0300)
committerDmitry Tunin <hanipouspilot@gmail.com>
Sat, 21 Jul 2018 16:40:21 +0000 (19:40 +0300)
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua

index 4ac8d2ccc08d90e26f98a96c91a9d0fea566bc61..18621c146f8f2d7d6c3f485b3802a90c6d91a72b 100644 (file)
@@ -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"))