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

Martine Lenders notifications at github.com
Tue Jun 15 16:16:01 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)));
 #if GNRC_IPV6_NIB_CONF_SLAAC
-    /* TODO SLAAC behavior */
+    gnrc_netif_t *tgt_netif = gnrc_netif_get_by_ipv6_addr(&nbr_sol->tgt);

I think what is happening is that the node behind interface 7 thinks the global address (`2001:16b8:45b5:9afb:ece6:c0ff:fe26:b99f`? ... really would help to have some graphical representation of your set-up instead of juggling with numbers and hex-strings ;-)) is on-link and thus tries to resolve the neighbor. Since the prefix is quite similar that could indeed be what is happening. However, as the addressed node is behind interface 6 it is of course not on-link.

-- 
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/8823#discussion_r651835761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210615/a42dfc3b/attachment.htm>


More information about the notifications mailing list