Skip to content
Snippets Groups Projects
Commit 683c7185 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #3577 from OlegHahm/ipv6_debug_null_pointer

ipv6: removed null-pointer reference in debug
parents f90032f9 edfd8012
No related branches found
No related tags found
No related merge requests found
...@@ -287,8 +287,7 @@ kernel_pid_t ng_ipv6_netif_find_by_addr(ng_ipv6_addr_t **out, const ng_ipv6_addr ...@@ -287,8 +287,7 @@ kernel_pid_t ng_ipv6_netif_find_by_addr(ng_ipv6_addr_t **out, const ng_ipv6_addr
} }
else { else {
if (ng_ipv6_netif_find_addr(ipv6_ifs[i].pid, addr) != NULL) { if (ng_ipv6_netif_find_addr(ipv6_ifs[i].pid, addr) != NULL) {
DEBUG("ipv6 netif: Found %s on interface %" PRIkernel_pid "\n", DEBUG("ipv6 netif: Found :: on interface %" PRIkernel_pid "\n",
ng_ipv6_addr_to_str(addr_str, *out, sizeof(addr_str)),
ipv6_ifs[i].pid); ipv6_ifs[i].pid);
return ipv6_ifs[i].pid; return ipv6_ifs[i].pid;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment