From 5073d8875f52cb3567aa86eb0352ba8a8feb0e31 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 1 Dec 2020 18:16:21 +0100 Subject: [PATCH] tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif() --- tests/gnrc_ipv6_ext_frag/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gnrc_ipv6_ext_frag/main.c b/tests/gnrc_ipv6_ext_frag/main.c index 16409baf16..b8da47d2fa 100644 --- a/tests/gnrc_ipv6_ext_frag/main.c +++ b/tests/gnrc_ipv6_ext_frag/main.c @@ -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;