summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-qmi/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-qmi/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol/qmi.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol/qmi.js b/protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol/qmi.js
index eeda91f6e6..735eefabdf 100644
--- a/protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol/qmi.js
+++ b/protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol/qmi.js
@@ -97,5 +97,11 @@ return network.registerProtocol('qmi', {
o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'));
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
o.datatype = 'max(9200)';
+
+ o = s.taboption('general', form.ListValue, 'pdptype', _('PDP Type'));
+ o.value('ipv4v6', 'IPv4/IPv6');
+ o.value('ipv4', 'IPv4');
+ o.value('ipv6', 'IPv6');
+ o.default = 'ipv4v6';
}
});