gnrc_ndp: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
2afa6795ef
commit
4231b7cd38
@ -609,7 +609,7 @@ static gnrc_pktsnip_t *_build_headers(gnrc_netif_t *netif,
|
|||||||
gnrc_pktbuf_remove_snip(iphdr, iphdr);
|
gnrc_pktbuf_remove_snip(iphdr, iphdr);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
((gnrc_netif_hdr_t *)l2hdr->data)->if_pid = netif->pid;
|
gnrc_netif_hdr_set_netif(l2hdr->data, netif);
|
||||||
LL_PREPEND(iphdr, l2hdr);
|
LL_PREPEND(iphdr, l2hdr);
|
||||||
return l2hdr;
|
return l2hdr;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user