luci-mod-network: keep steering_flows in config file
authorAndy Chiang <redacted>
Wed, 20 May 2026 08:28:01 +0000 (15:28 +0700)
committerPaul Donald <redacted>
Wed, 27 May 2026 11:32:38 +0000 (14:32 +0300)
remove `o.default` to keep steering_flows in config file

Signed-off-by: Andy Chiang <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index e6124d31af0000d19e9dbaccf24e5bfdb25dd3e8..857585667d4a0667d844f878d445c035d5db793e 100644 (file)
@@ -1800,8 +1800,6 @@ return view.extend({
                o.default = '1';
                o.optional = true;
 
-               const steer_flow = uci.get('network', 'globals', 'steering_flows');     
-
                o = s.option(form.Value, 'steering_flows', _('Steering flows (<abbr title="Receive Packet Steering">RPS</abbr>)'),
                        _('Directs packet flows to specific CPUs where the local socket owner listens (the local service).') + ' ' +
                        _('Note: this setting is for local services on the device only (not for forwarding).'));
@@ -1811,7 +1809,6 @@ return view.extend({
                o.depends('packet_steering', '1');
                o.depends('packet_steering', '2');
                o.datatype = 'uinteger';
-               o.default = steer_flow;
 
                if (dslModemType != null) {
                        s = m.section(form.TypedSection, 'dsl', _('DSL'));
git clone https://git.99rst.org/PROJECT