Revert "gnrc ipv6: replace check by assert"
This reverts commit 856e1ee0d246ec099df4d81164c9b9fde88a52d1.
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…
x
Reference in New Issue
Block a user