summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorAlan Swanson <reiver@improbability.net>2020-03-21 16:21:00 +0000
committerAlan Swanson <reiver@improbability.net>2020-03-21 16:21:00 +0000
commit28ed7245be541a7e0097d77bed271a4d77abddc1 (patch)
tree5f11f3f754929431f903351e55165be47e5f7d7b /modules/luci-mod-network
parentbe361725c4e9a9d07af44995c12fab92e2536778 (diff)
luci-mod-network: interfaces.js: add global packet steering option
Previously an undocumented "default_ps" option without a corresponding luci entry. Hotplug script was updated in openwrt master to use "packet_steering" as the option and now defaults to off. Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d3868f15f876507db54afacdef22a7059011a54e Signed-off-by: Alan Swanson <reiver@improbability.net>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
index 5cc452c9f..0e6e5a2e2 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
@@ -874,6 +874,9 @@ return L.view.extend({
o = s.option(form.Value, 'ula_prefix', _('IPv6 ULA-Prefix'));
o.datatype = 'cidr6';
+ o = s.option(form.Flag, 'packet_steering', _('Packet Steering'), _('Enable packet steering across all CPUs. May help or hinder network speed.'));
+ o.optional = true;
+
if (dslModemType != null) {
s = m.section(form.TypedSection, 'dsl', _('DSL'));