mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 09:33:18 +08:00
There was another small issue on sixlowpan_input.c code, it was processing protosize and 8-bit instead of 16-bit. It was working because the max tcp->tcpoffset was 0xf0, so protosize = ((uint16_t)tcp->tcpoffset >> 4) << 2; Will be protosize = 15 * 4 = 60 and will fit inside 8-bit. Signed-off-by: Alan C. Assis <acassis@gmail.com>