1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

gnrc_sixlowpan_frag: use IPv6 type for reassembled packet

This commit is contained in:
Martine Lenders 2016-03-12 10:33:44 +01:00
parent 8baf8f839d
commit 178c3169d7

View File

@ -319,7 +319,7 @@ static rbuf_t *_rbuf_get(const void *src, size_t src_len,
/* now we have an empty spot */
res->pkt = gnrc_pktbuf_add(NULL, NULL, size, GNRC_NETTYPE_SIXLOWPAN);
res->pkt = gnrc_pktbuf_add(NULL, NULL, size, GNRC_NETTYPE_IPV6);
if (res->pkt == NULL) {
DEBUG("6lo rfrag: can not allocate reassembly buffer space.\n");
return NULL;