mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
56cf30172f
commit
5073d8875f
@ -554,7 +554,7 @@ static gnrc_pktsnip_t *_build_udp_packet(const ipv6_addr_t *dst,
|
||||
return NULL;
|
||||
}
|
||||
netif_hdr = hdr->data;
|
||||
netif_hdr->if_pid = eth_netif->pid;
|
||||
gnrc_netif_hdr_set_netif(netif_hdr, eth_netif);
|
||||
netif_hdr->flags |= GNRC_NETIF_HDR_FLAGS_MULTICAST;
|
||||
hdr->next = payload;
|
||||
return hdr;
|
||||
|
Loading…
Reference in New Issue
Block a user