[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: handle route information option (#16568)

benpicco notifications at github.com
Wed Jul 7 19:14:35 CEST 2021


@benpicco commented on this pull request.



> +        } else if ((netif->flags & GNRC_NETIF_FLAGS_IPV6_RTR_ADV_RIO) &&
+                   (pfx->flags & _PFX_ON_LINK)) {
+            DEBUG("nib: adding downstream subnet as RIO\n");
+            if ((ext_opts = gnrc_ndp_opt_ri_build(&pfx->pfx,
+                                                  pfx->pfx_len,
+                                                  pfx->valid_until,
+                                                  NDP_OPT_RI_FLAGS_PRF_NONE,
+                                                  ext_opts)) == NULL) {
+                return NULL;

I could re-arrange the code so these two cases can be merged, but I think that's better to do as a follow-up.  

-- 
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/16568#pullrequestreview-701259438
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210707/f5baf990/attachment.htm>


More information about the notifications mailing list