mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
correct byte order for IPv6 length field
This commit is contained in:
parent
f6c37b0b4f
commit
9bd8e35c54
@ -167,6 +167,7 @@ void sixlowpan_lowpan_sendto(const ieee_802154_long_t *dest,
|
|||||||
packet_length = comp_len;
|
packet_length = comp_len;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
ipv6_buf->length = HTONS(ipv6_buf->length);
|
||||||
lowpan_ipv6_set_dispatch(data);
|
lowpan_ipv6_set_dispatch(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user