Skip to content
Snippets Groups Projects
Commit cf86479e authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

ng_ipv6/netif: fix debug in _add_addr_to_entry()

parent a30be984
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,7 @@ static int _add_addr_to_entry(ng_ipv6_netif_t *entry, const ng_ipv6_addr_t *addr ...@@ -46,8 +46,7 @@ static int _add_addr_to_entry(ng_ipv6_netif_t *entry, const ng_ipv6_addr_t *addr
if (ng_ipv6_addr_is_unspecified(&(entry->addrs[i].addr))) { if (ng_ipv6_addr_is_unspecified(&(entry->addrs[i].addr))) {
memcpy(&(entry->addrs[i].addr), addr, sizeof(ng_ipv6_addr_t)); memcpy(&(entry->addrs[i].addr), addr, sizeof(ng_ipv6_addr_t));
DEBUG("Added %s/%" PRIu8 " to interface %" PRIkernel_pid "\n", DEBUG("Added %s/%" PRIu8 " to interface %" PRIkernel_pid "\n",
ng_ipv6_addr_to_str(&(entry->addrs[i].addr), addr, ng_ipv6_addr_to_str(addr_str, addr, sizeof(addr_str)),
sizeof(addr_str)),
prefix_len, entry->pid); prefix_len, entry->pid);
if (anycast || ng_ipv6_addr_is_multicast(addr)) { if (anycast || ng_ipv6_addr_is_multicast(addr)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment