[riot-notifications] [RIOT-OS/RIOT] sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client (#16228)

Jan Romann notifications at github.com
Wed Aug 11 15:45:54 CEST 2021

@JKRhb commented on this pull request.

> +        if (dhcpv6_client_add_addr(lease->parent.ia_id.info.netif,
+                                    &lease->addr) == sizeof(ipv6_addr_t)) {
+            DEBUG("IP ADDRESS successfully added!\n");
+            lease->pref_until = pref;
+            lease->valid_until = valid;
+            _set_event_timeout_sec(&deprecate_remove_timeout, &deprecate_remove_addrs,
+                                    pref);
+        }

I adjusted the code in 359a013c0f1d5e59d8a904bd3efb83225647c0cf

However, should there maybe also be a mechanism added for removing the prefix once the lease has expired? Or is this done automatically when the respective address is removed? If not, maybe the additional prefix configuration is actually something that should be done in separate PR.

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/20210811/e6807d4f/attachment.htm>

More information about the notifications mailing list