sixlowpan: check the first 2 bits of dispatch byte
This commit is contained in:
parent
754a028929
commit
e8d18c1856
@ -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