From: Paul Donald Date: Thu, 19 Mar 2026 20:29:16 +0000 (+0100) Subject: luci-mod-network: align STP defaults with netifd X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1d7fa8163c25ec6d7fc02ff2d8fdb82bd735716c;p=openwrt-luci.git luci-mod-network: align STP defaults with netifd Closes #8443 Signed-off-by: Paul Donald --- 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' });