[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: add NIB event bus (#14022)

Martine Lenders notifications at github.com
Tue May 12 14:29:32 CEST 2020


@miri64 commented on this pull request.



> @@ -78,6 +78,7 @@ void _auto_configure_addr(gnrc_netif_t *netif, const ipv6_addr_t *pfx,
          *    locked here) */
         netif->ipv6.addrs_flags[idx] &= ~GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_MASK;
         netif->ipv6.addrs_flags[idx] |= GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_VALID;
+        _nib_bus_post(netif, GNRC_IPV6_NIB_EVENT_ADDR_VALID, &netif->ipv6.addrs[idx]);

You forgot to post for when the [address becomes VALID in classic DAD](https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c#L212-L213).

-- 
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/14022#pullrequestreview-409989534
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/81da11ff/attachment-0001.htm>


More information about the notifications mailing list