Browse Source

Merge pull request #2991 from cgundogan/ng_ipv6_netif_add_addr_to_entry_debug_fix

ng_ipv6/netif: fix debug in _add_addr_to_entry()
dev/timer
Martine Lenders 8 years ago
parent
commit
2bc7c4ba5f
  1. 3
      sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c

3
sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c

@ -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))) {
memcpy(&(entry->addrs[i].addr), addr, sizeof(ng_ipv6_addr_t));
DEBUG("Added %s/%" PRIu8 " to interface %" PRIkernel_pid "\n",
ng_ipv6_addr_to_str(&(entry->addrs[i].addr), addr,
sizeof(addr_str)),
ng_ipv6_addr_to_str(addr_str, addr, sizeof(addr_str)),
prefix_len, entry->pid);
if (anycast || ng_ipv6_addr_is_multicast(addr)) {

Loading…
Cancel
Save