[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix() (#16729)

Martine Lenders notifications at github.com
Tue Aug 24 16:02:37 CEST 2021

@miri64 commented on this pull request.

> +            if (ipv6_addr_match_prefix(&netif->ipv6.addrs[i],
+                                       &pfx->pfx) >= pfx->pfx_len) {
+                gnrc_netif_ipv6_addr_remove_internal(netif,
+                                                     &netif->ipv6.addrs[i]);
+            }

> Maybe but that would require the two prefixes to be on the same interface yet still be independent from each other.

Could happen if e.g. an RA is received with multiple PIOs configured as such...

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/20210824/6a1eeec6/attachment.htm>

More information about the notifications mailing list