1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc
Martin Elshuber faa47a0e03 gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
Summary:

Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.

This behviour occurs because in the line

  if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))

the COMP bit is not tested.

This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
..
application_layer gcoap: use generic netreg initializers 2016-11-03 12:56:58 +01:00
conn all: fix for new netreg_entry_t structure 2016-10-25 22:17:18 +02:00
link_layer ieee802154: remove need for IEEE802154_BCAST flag 2016-09-30 14:57:05 +02:00
netapi gnrc_netreg: add arbitrary callback support 2016-10-25 21:35:57 +02:00
netif gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi 2016-10-17 10:11:08 +02:00
netreg gnrc_netreg: add mbox support 2016-10-25 21:31:54 +02:00
nettest gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
network_layer gnrc_sixlowpan_iphc: Fixed encoding when COMP=0 2016-11-07 19:53:04 +01:00
pkt gnrc_pkt: provide type search function 2016-02-11 01:05:02 +01:00
pktbuf_static gnrc_pktbuf: allow for 0-sized payload snips 2016-09-27 21:49:57 +02:00
pktdump all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
priority_pktqueue gnrc: add priority packet queue module. 2016-10-31 16:53:01 +01:00
routing/rpl all: fix for new netreg_entry_t structure 2016-10-25 22:17:18 +02:00
sock gnrc_sock_udp: fixed minor bug 2016-10-30 18:48:41 +01:00
transport_layer/udp gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Makefile Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac 2016-11-01 07:45:31 +01:00