1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/sixlowpan
Benjamin Valentin 2ed7f66d33 gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0
Coverty scan found this:

> CID 298295 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands:
> (ipv6_hdr_get_fl(ipv6_hdr) & 255) >> 8 is 0 regardless of the values of its operands.

Looking at the code, this appears to be a copy & paste error from the previous line.
2020-08-11 14:09:28 +02:00
..
ctx sys: net: adapt to compile-checked debug messages 2018-01-15 14:37:04 +01:00
frag gnrc_sixlowpan_frag_vrb: fix cppcheck warning 2020-08-03 12:29:06 +02:00
iphc gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0 2020-08-11 14:09:28 +02:00
nd Kconfig: Expose gnrc/sixlowpan configurations 2020-01-17 18:09:14 +01:00
gnrc_sixlowpan.c gnrc/sixlowpan: Configure queue size with exponent 2020-06-15 07:30:52 +02:00
Kconfig gnrc/sixlowpan: Configure queue size with exponent 2020-06-15 07:30:52 +02:00
Makefile gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00