Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sys/include/net/gnrc/ipv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
* The IPv6 control thread understands messages of type
*
* * @ref GNRC_NETAPI_MSG_TYPE_RCV, and
* * @ref GNRC_NETAPI_MSG_TYPE_SND,
* * @ref GNRC_NETAPI_MSG_TYPE_SND.
*
* If the message is of type @ref GNRC_NETAPI_MSG_TYPE_RCV the provided @ref
* gnrc_pktsnip_t must contain a snip of type @ref GNRC_NETTYPE_NETIF.
*
* @{
*
Expand Down
5 changes: 2 additions & 3 deletions sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,8 @@ static void _receive(gnrc_pktsnip_t *pkt)

netif = gnrc_pktsnip_search_type(pkt, GNRC_NETTYPE_NETIF);

if (netif != NULL) {
iface = ((gnrc_netif_hdr_t *)netif->data)->if_pid;
}
assert(netif);
iface = ((gnrc_netif_hdr_t *)netif->data)->if_pid;

first_ext = pkt;

Expand Down