[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: only add prefix of same interface to ABR (#13740)

Martine Lenders notifications at github.com
Mon May 11 14:03:25 CEST 2020


@miri64 commented on this pull request.



> @@ -34,7 +36,8 @@ int gnrc_ipv6_nib_abr_add(const ipv6_addr_t *addr)
     }
     abr->valid_until = 0U;
     while ((offl = _nib_offl_iter(offl))) {

I just looked at the code again and I am not really sure what I was thinking... `addr` is the address of the border router so `gnrc_netif_get_by_ipv6_addr(addr)` will return NULL, as `addr` is not assigned to any interface. That might explain, why this did not work for you. 

-- 
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/13740#discussion_r422990181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200511/3a68f00f/attachment.htm>


More information about the notifications mailing list