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

Martine Lenders notifications at github.com
Tue Aug 10 18:58:36 CEST 2021


@miri64 commented on this pull request.



> +    return netif->ipv6.aac_mode & GNRC_NETIF_AAC_DHCP;
+}
+
+int dhcpv6_client_add_addr(unsigned iface, ipv6_addr_t *addr)
+{
+    gnrc_netif_t *netif = gnrc_netif_get_by_pid(iface);
+
+    DEBUG("DHCPv6 client: ADD IP ADDRESS\n");
+
+    return gnrc_netif_ipv6_addr_add(netif, addr, 64, 0);
+}
+
+void dhcpv6_client_deprecate_addr(unsigned iface, const ipv6_addr_t *addr)
+{
+    gnrc_netif_t *netif = gnrc_netif_get_by_pid(iface);
+    int i;

That was one whitespace removed to much ^^ (I know, now I am getting pedantic)

```suggestion
    int i;

```

(in the original suggestion I only wanted you to remove the four trailing whitespaces, but not the newline ;-))

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


More information about the notifications mailing list