Skip to content

Commit

Permalink
fixup! gnrc_sixlowpan_frag: add datagram size to base type
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Aug 7, 2019
1 parent 69436e2 commit 6e76b4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void gnrc_sixlowpan_frag_rbuf_dispatch_when_complete(gnrc_sixlowpan_rbuf_t *rbuf
{
assert(rbuf);
assert(netif_hdr);
if (rbuf->super.current_size == rbuf->pkt->size) {
if (rbuf->super.current_size == rbuf->super.datagram_size) {
gnrc_pktsnip_t *netif = gnrc_netif_hdr_build(rbuf->super.src,
rbuf->super.src_len,
rbuf->super.dst,
Expand Down

0 comments on commit 6e76b4a

Please sign in to comment.