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
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
..
icmpv6 gnrc/icmpv6: redefinition of MIN macro 2020-06-25 17:31:07 +02:00
ipv6 gnrc/nib: fix _idx_dsts() calculation 2020-08-03 11:35:54 +02:00
ndp gnrc/nib: Move GNRC_IPV6_NIB_CONF_ARSM to 'CONFIG_' namespace 2020-03-31 18:07:07 +02:00
sixlowpan gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0 2020-08-11 14:09:28 +02:00