[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: add full RFC4862 DAD support (#8823)

Martine Lenders notifications at github.com
Tue Jun 15 16:27:48 CEST 2021

@miri64 commented on this pull request.

> @@ -838,9 +837,30 @@ static void _handle_nbr_sol(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
     DEBUG("     - Destination address: %s\n",
           ipv6_addr_to_str(addr_str, &ipv6->dst, sizeof(addr_str)));
-    /* TODO SLAAC behavior */
+    gnrc_netif_t *tgt_netif = gnrc_netif_get_by_ipv6_addr(&nbr_sol->tgt);

Ok, yeah in that case I think it really is Node A thinking that `2001:16b8:45b5:9afb:ece6:c0ff:fe26:b99f` is on link. After all, masking that address with `ffff:ffff:ffff:ffff::/63` will give you `2001:16b8:45b5:9afa::/63`, as `0xa | 0x1 = 0xb` and 0xa only sets the first three bits of the last nibble.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210615/0b5837aa/attachment.htm>

More information about the notifications mailing list