mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
ng_ipv6: remove redefinition of ifnum
This commit is contained in:
parent
fb6440c397
commit
773ecc3615
@ -353,7 +353,7 @@ static void _send_multicast(kernel_pid_t iface, ng_pktsnip_t *pkt,
|
|||||||
|
|
||||||
if (iface == KERNEL_PID_UNDEF) {
|
if (iface == KERNEL_PID_UNDEF) {
|
||||||
/* get list of interfaces */
|
/* get list of interfaces */
|
||||||
size_t ifnum = ng_netif_get(ifs);
|
ifnum = ng_netif_get(ifs);
|
||||||
|
|
||||||
/* throw away packet if no one is interested */
|
/* throw away packet if no one is interested */
|
||||||
if (ifnum == 0) {
|
if (ifnum == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user