1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #10995 from maribu/6lo_frag

net/sixlowpan: Fixed calculation of fragment size
This commit is contained in:
Martine Lenders 2019-02-12 10:09:21 +01:00 committed by GitHub
commit 0543016b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ static uint16_t _tag;
static inline uint16_t _floor8(uint16_t length)
{
return length & 0xf8U;
return length & 0xfff8U;
}
static inline size_t _min(size_t a, size_t b)