From: Paul Donald Date: Tue, 30 Sep 2025 17:29:31 +0000 (+0200) Subject: luci-mod-network: expose IPv6 RA reachability and retransmission timers X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2c0730c96609b875eb02604eb9429c1198186b67;p=openwrt-luci.git luci-mod-network: expose IPv6 RA reachability and retransmission timers These timers are configurable for many years and allow control of node timers. Signed-off-by: Paul Donald --- 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 ddeca78053..9d9f818e4c 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 @@ -866,6 +866,24 @@ return view.extend({ so.depends('ra', 'server'); so.depends({ ra: 'hybrid', master: '0' }); + so = ss.taboption('ipv6-ra', form.Value, 'ra_reachabletime', _('RA Reachability Timer'), + _('Units: milliseconds. 0 means unspecified.') + ' ' + + _('Dictates how long a node assumes a neighbor is reachable after a reachability confirmation; published in RA messages.')); + so.optional = true; + so.datatype = 'range(0, 3600000)'; // RFC4861 and odhcpd caps to 3,600,000 msec + so.placeholder = '0'; + so.depends('ra', 'server'); + so.depends({ ra: 'hybrid', master: '0' }); + + so = ss.taboption('ipv6-ra', form.Value, 'ra_retranstime', _('RA Retransmission Timer'), + _('Units: milliseconds. 0 means unspecified.') + ' ' + + _('Controls retransmitted Neighbor Solicitation messages; published in RA messages.')); + so.optional = true; + so.placeholder = '0'; + so.datatype = 'range(0, 60000)'; // odhcpd caps to 60,000 msec + so.depends('ra', 'server'); + so.depends({ ra: 'hybrid', master: '0' }); + so = ss.taboption('ipv6-ra', form.Value, 'ra_lifetime', _('RA Lifetime'), _('Router Lifetime published in RA messages. Maximum is 9000 seconds.')); so.optional = true; so.datatype = 'range(0, 9000)';