From 178c3169d71baf1b47aeb99123a3758aaae87cbb Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Sat, 12 Mar 2016 10:33:44 +0100 Subject: [PATCH] gnrc_sixlowpan_frag: use IPv6 type for reassembled packet --- sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c b/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c index 7a069c1de1..c2cf340800 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c @@ -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;