From ab21f5dfc1aca86981dfdf53870c9bdfcc59614e Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 6 May 2015 11:30:54 +0200 Subject: [PATCH] ng_ipv6: fix debug output --- sys/net/network_layer/ng_ipv6/ng_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/network_layer/ng_ipv6/ng_ipv6.c b/sys/net/network_layer/ng_ipv6/ng_ipv6.c index 2526417c0..ddc05e643 100644 --- a/sys/net/network_layer/ng_ipv6/ng_ipv6.c +++ b/sys/net/network_layer/ng_ipv6/ng_ipv6.c @@ -285,7 +285,7 @@ static int _fill_ipv6_hdr(kernel_pid_t iface, ng_pktsnip_t *ipv6, static inline void _send_multicast_over_iface(kernel_pid_t iface, ng_pktsnip_t *pkt, ng_pktsnip_t *netif) { - DEBUG("ipv6: send multicast over interface %" PRIkernel_pid "\n", ifs[i]); + DEBUG("ipv6: send multicast over interface %" PRIkernel_pid "\n", iface); /* mark as multicast */ ((ng_netif_hdr_t *)netif->data)->flags |= NG_NETIF_HDR_FLAGS_MULTICAST; /* and send to interface */