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:
commit
e76fef89b8
@ -71,7 +71,7 @@ extern "C" {
|
||||
*/
|
||||
static inline bool sixlowpan_nalp(uint8_t disp)
|
||||
{
|
||||
return (disp & 0x3f);
|
||||
return ((disp & 0xc0) == 0);
|
||||
}
|
||||
/** @} */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user