luci-mod-network: align STP defaults with netifd
authorPaul Donald <redacted>
Thu, 19 Mar 2026 20:29:16 +0000 (21:29 +0100)
committerPaul Donald <redacted>
Thu, 19 Mar 2026 20:29:19 +0000 (21:29 +0100)
Closes #8443

Signed-off-by: Paul Donald <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

index 17891ec011f355e701b99cea982c0b3b65a66bd6..c96e268df9ea37da3a22348c112156f08c465c94 100644 (file)
@@ -1030,17 +1030,17 @@ return baseclass.extend({
                o.depends('type', 'bridge');
 
                o = this.replaceOption(s, 'devadvanced', form.Value, 'hello_time', _('Hello interval'), _('Interval in seconds for STP hello packets'));
-               o.placeholder = '2';
+               o.placeholder = '1';
                o.datatype = 'range(1, 10)';
                o.depends({ type: 'bridge', stp: '1' });
 
                o = this.replaceOption(s, 'devadvanced', form.Value, 'forward_delay', _('Forward delay'), _('Time in seconds to spend in listening and learning states'));
-               o.placeholder = '15';
+               o.placeholder = '8';
                o.datatype = 'range(2, 30)';
                o.depends({ type: 'bridge', stp: '1' });
 
                o = this.replaceOption(s, 'devadvanced', form.Value, 'max_age', _('Maximum age'), _('Timeout in seconds until topology updates on link loss'));
-               o.placeholder = '20';
+               o.placeholder = '10';
                o.datatype = 'range(6, 40)';
                o.depends({ type: 'bridge', stp: '1' });
 
git clone https://git.99rst.org/PROJECT