1
0
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:
Martine Lenders 2016-04-17 14:06:54 +02:00
parent 9789eb249e
commit d64b922db0

View File

@ -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;