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:
parent
716cbe3f34
commit
47fdebc938
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user