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

Jan Romann notifications at github.com
Tue Aug 10 20:02:30 CEST 2021


@JKRhb commented on this pull request.



> +    gnrc_netif_acquire(netif);
+    i = gnrc_netif_ipv6_addr_idx(netif, addr);
+    if (i >= 0) {
+        netif->ipv6.addrs_flags[i] &= ~GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_MASK;
+        netif->ipv6.addrs_flags[i] |= GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_DEPRECATED;
+    }
+    gnrc_netif_release(netif);
+}
+
+bool dhcpv6_client_remove_addr(unsigned iface, ipv6_addr_t *addr)
+{
+    gnrc_netif_t *netif = gnrc_netif_get_by_pid(iface);
+
+    gnrc_netif_ipv6_addr_remove(netif, addr);
+
+    return false;

Okay, great :) I removed it in 5104f6dac08009e322996930c191707bc7b3cfb9

-- 
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/16228#discussion_r686203828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210810/c632d255/attachment.htm>


More information about the notifications mailing list