[riot-notifications] [RIOT-OS/RIOT] gnrc_tcp-change and verfy addrs in use (#10963)

Peter Kietzmann notifications at github.com
Thu Feb 7 09:58:42 CET 2019


PeterKietzmann commented on this pull request.



> @@ -54,6 +76,25 @@ int main(void)
     return 0;
 }
 
+bool verify_ip_addr(gnrc_netif_t *netif)
+{
+    ipv6_addr_t must_match;
+
+    if (!ipv6_addr_from_str(&must_match, LOCAL_ADDR)) {
+        return false;
+    }
+
+    for (int i = 0; i < GNRC_NETIF_IPV6_ADDRS_NUMOF; ++i) {
+        bool ip_match = ipv6_addr_equal(&must_match, &(netif->ipv6.addrs[i]));

Without looking into the code I guess you need a next-hop entry in the NIB. @miri64?! 

-- 
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/10963#discussion_r254591591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190207/2ab16824/attachment.html>


More information about the notifications mailing list