Skip to content

Commit

Permalink
Merge pull request #3577 from OlegHahm/ipv6_debug_null_pointer
Browse files Browse the repository at this point in the history
ipv6: removed null-pointer reference in debug
  • Loading branch information
OlegHahm committed Aug 6, 2015
2 parents f90032f + edfd801 commit 683c718
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ kernel_pid_t ng_ipv6_netif_find_by_addr(ng_ipv6_addr_t **out, const ng_ipv6_addr
}
else {
if (ng_ipv6_netif_find_addr(ipv6_ifs[i].pid, addr) != NULL) {
DEBUG("ipv6 netif: Found %s on interface %" PRIkernel_pid "\n",
ng_ipv6_addr_to_str(addr_str, *out, sizeof(addr_str)),
DEBUG("ipv6 netif: Found :: on interface %" PRIkernel_pid "\n",
ipv6_ifs[i].pid);
return ipv6_ifs[i].pid;
}
Expand Down

0 comments on commit 683c718

Please sign in to comment.