]> git.99rst.org Git - openwrt-packages.git/commitdiff
olsrd: fix respawn_threshold lookup in the IPv6 init script
authorJosef Schlehofer <redacted>
Thu, 6 Aug 2026 10:39:34 +0000 (12:39 +0200)
committerNick Hainke <redacted>
Thu, 13 Aug 2026 21:21:19 +0000 (23:21 +0200)
The UCI option is spelled respawn_threshold, as documented in
files/olsrd6.config and as read by files/olsrd4.init, but the IPv6
init script looks up _respawn_threshold. The lookup never matches,
so a user-configured value is silently ignored and the built-in
default of 3600 is always used.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer <redacted>
Co-authored-by: Claude Fable 5 <redacted>
net/olsrd/files/olsrd6.init

index a20e96728aff1a7ce162d5d83a6f440b249c5a86..1b4560f5e119b6f898125e9e040044a6382a9b42 100644 (file)
@@ -46,7 +46,7 @@ start_service() {
        local _respawn_timeout
        local _respawn_retry
 
-       config_get _respawn_threshold procd _respawn_threshold 3600
+       config_get _respawn_threshold procd respawn_threshold 3600
        config_get _respawn_timeout procd respawn_timeout 15
        config_get _respawn_retry procd respawn_retry 0
 
git clone https://git.99rst.org/PROJECT