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:
parent
8baf8f839d
commit
178c3169d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user