Skip to content

Conversation

@Noltari
Copy link
Member

@Noltari Noltari commented Dec 6, 2025

  • config: fix default value for allow_slaac_only
  • odhcp6c: drop script_sync_delay override with allow_slaac_only
  • src: stop overriding allow_slaac_only values
  • src: convert allow_slaac_only to boolean

CC @systemcrash @nxhack @Alphix

As reported by @nxhack at openwrt#131,
allow_slaac_only was assigned an incorrect default value when it was moved
from odhcp6c.c to config.c.

Fixes: 1048fc4 ("reconfigure: move all configuration functions to a new file")
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
@Noltari Noltari self-assigned this Dec 6, 2025
allow_slaac_only is declared as a boolean in the OpenWrt wiki and the
script doesn't pass any value at all:
https://github.com/openwrt/openwrt/blob/00c8b5c612d07e36ede1e9ebe2b44ba88fa90000/package/network/ipv6/odhcp6c/files/dhcpv6.sh#L94

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
script_sync_delay is no longer updated with allow_slaac_only, so this
isn't needed.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
@Noltari Noltari force-pushed the fix-allow_slaac_only branch from ad5b4c2 to dc7dadf Compare December 6, 2025 12:51
@systemcrash
Copy link
Contributor

Just gotta fix that other boolean

@Noltari Noltari force-pushed the fix-allow_slaac_only branch from dc7dadf to 1f1a7c6 Compare December 6, 2025 13:29
It's declared as a boolean in the OpenWrt wiki, and the package script
doesn't pass any value.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
@Noltari Noltari force-pushed the fix-allow_slaac_only branch from 1f1a7c6 to 1d6c4e7 Compare December 6, 2025 14:12
@Noltari Noltari marked this pull request as ready for review December 6, 2025 14:22
@Noltari
Copy link
Member Author

Noltari commented Dec 6, 2025

Just gotta fix that other boolean

@systemcrash which one?

@systemcrash
Copy link
Contributor

OK. All good now! LGTM.

@openwrt-bot openwrt-bot merged commit 1d6c4e7 into openwrt:master Dec 6, 2025
10 checks passed
@Noltari Noltari deleted the fix-allow_slaac_only branch December 6, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants