mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
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()
This commit is contained in:
commit
2bc7c4ba5f
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user