1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

gnrc_icmpv6_echo: use gnrc_netif_hdr_set_netif()

This commit is contained in:
Martine S. Lenders 2018-12-12 19:51:22 +01:00
parent 716cbe3f34
commit 47fdebc938

View File

@ -100,7 +100,7 @@ void gnrc_icmpv6_echo_req_handle(gnrc_netif_t *netif, ipv6_hdr_t *ipv6_hdr,
}
if (netif != NULL) {
((gnrc_netif_hdr_t *)hdr->data)->if_pid = netif->pid;
gnrc_netif_hdr_set_netif(hdr->data, netif);
}
else {
/* ipv6_hdr->dst is loopback address */