From 1d7fa8163c25ec6d7fc02ff2d8fdb82bd735716c Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 19 Mar 2026 21:29:16 +0100 Subject: [PATCH] luci-mod-network: align STP defaults with netifd Closes #8443 Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/tools/network.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js index 17891ec011..c96e268df9 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js @@ -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' });