[riot-notifications] [RIOT] gnrc_sixlowpan_nd: register new addresses for AAC (#3875)

Oleg Hahm notifications at github.com
Thu Sep 17 12:16:03 CEST 2015


> @@ -87,6 +87,17 @@ static ipv6_addr_t *_add_addr_to_entry(gnrc_ipv6_netif_t *entry, const ipv6_addr
>      tmp_addr->prefix_len = prefix_len;
>      tmp_addr->flags = flags;
>  
> +#ifdef MODULE_GNRC_SIXLOWPAN_ND
> +    if (entry->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) {
> +        ipv6_addr_t *router = gnrc_ndp_internal_default_router();
> +        if (router != NULL) {
> +            tmp_addr->flags |= GNRC_IPV6_NETIF_ADDR_FLAGS_TENTATIVE;
> +            gnrc_ndp_internal_send_nbr_sol(entry->pid, &tmp_addr->addr, &router);

`s/&router/router/`

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3875/files#r39730009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150917/1857eb02/attachment.html>


More information about the notifications mailing list