mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Revert "gnrc ipv6: replace check by assert"
This reverts commit 856e1ee0d2
.
This commit is contained in:
parent
9789eb249e
commit
d64b922db0
@ -769,8 +769,9 @@ static void _receive(gnrc_pktsnip_t *pkt)
|
||||
|
||||
netif = gnrc_pktsnip_search_type(pkt, GNRC_NETTYPE_NETIF);
|
||||
|
||||
assert(netif);
|
||||
iface = ((gnrc_netif_hdr_t *)netif->data)->if_pid;
|
||||
if (netif != NULL) {
|
||||
iface = ((gnrc_netif_hdr_t *)netif->data)->if_pid;
|
||||
}
|
||||
|
||||
first_ext = pkt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user