[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: fix starting with router advertisements disabled, enabling them at run-time (#16567)

Martine Lenders notifications at github.com
Fri Jun 18 13:11:07 CEST 2021


@miri64 commented on this pull request.



> -    if (!IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LR) ||
-        IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LBR)) {
+    if (IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_ADV_ROUTER)) {

Mhh, but the again, `6ln` is initialized after the `router` flags.

https://github.com/RIOT-OS/RIOT/blob/2bde4b65b0434462934cc82befee59bacb8c67c8/sys/net/gnrc/network_layer/ipv6/nib/nib.c#L138-L139

Then let's keep it as is.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16567#discussion_r654345669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210618/20dd4af9/attachment.htm>


More information about the notifications mailing list