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

Merge pull request #4936 from OlegHahm/sixlowpan_nalp_fix

sixlowpan: check the first 2 bits of dispatch byte
This commit is contained in:
Martine Lenders 2016-03-03 00:54:37 +01:00
commit e76fef89b8

View File

@ -71,7 +71,7 @@ extern "C" {
*/
static inline bool sixlowpan_nalp(uint8_t disp)
{
return (disp & 0x3f);
return ((disp & 0xc0) == 0);
}
/** @} */