summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol
diff options
context:
space:
mode:
authorNicholas Smith <nicholas.smith@telcoantennas.com.au>2019-10-11 10:47:25 +1000
committerNicholas Smith <nicholas.smith@telcoantennas.com.au>2019-10-23 14:31:19 +1000
commiteb0c5c04e8fa55214d8d48b28a0a2d6db524d5e0 (patch)
tree3ea8bd251c43ebd05912d2c521aa22492af92109 /protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol
parenta1545331219ed608eb6625ce5d38fa216f5bfdc8 (diff)
luci-proto-qmi: add PDP type option
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
Diffstat (limited to 'protocols/luci-proto-qmi/htdocs/luci-static/resources/protocol')
-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 eeda91f6e..735eefabd 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';
}
});