1
0
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:
Martine Lenders 2020-12-01 18:16:21 +01:00
parent 56cf30172f
commit 5073d8875f
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -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;