From 28ed7245be541a7e0097d77bed271a4d77abddc1 Mon Sep 17 00:00:00 2001 From: Alan Swanson Date: Sat, 21 Mar 2020 16:21:00 +0000 Subject: [PATCH] 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 --- .../htdocs/luci-static/resources/view/network/interfaces.js | 3 +++ 1 file changed, 3 insertions(+) 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')); -- 2.25.1