1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc
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
..
application_layer gnrc/rpl: Move GNRC_RPL_DEFAULT_INSTANCE to 'CONFIG_' namespace 2020-05-14 15:57:01 +02:00
link_layer gnrc/lwmac : Expose to Kconfig 2020-07-08 10:04:45 +05:30
netapi gnrc_netapi: report errors on dispatch 2020-02-11 18:16:02 +01:00
netif net/gnrc_netif_lorawan: fix unaligned copy 2020-07-13 16:57:26 +02:00
netreg gnrc_netreg: use thread_has_msg_queue() for msg queue check 2018-12-19 15:39:50 +01:00
network_layer gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0 2020-08-11 14:09:28 +02:00
pkt gnrc: cleanup and corrections in gnrc_pkt 2017-04-22 20:56:54 +02:00
pktbuf gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
pktbuf_malloc gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
pktbuf_static gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
pktdump gnrc/pktdump : Add 'CONFIG_' & expose to Kconfig 2020-06-09 13:31:29 +05:30
priority_pktqueue gnrc_priority_queue: updated coding style. 2017-06-22 11:36:55 +02:00
routing/rpl gnrc/rpl: Configure queue size with exponent 2020-06-15 07:30:51 +02:00
sock gnrc/sock: Configure mbox size with exponent and add config doc group 2020-06-15 07:30:54 +02:00
transport_layer gnrc_tcp: abs() -> labs() for int32_t 2020-08-05 14:32:58 +02:00
doc.txt sys/net/gnrc: Add GNRC configuration Doxygen group 2019-12-06 12:18:03 +01:00
Kconfig gnrc/lwmac : Expose to Kconfig 2020-07-08 10:04:45 +05:30
Makefile net/gnrc/nettest: Remove module 2020-07-10 15:58:54 +02:00