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
..
2016-10-31 22:41:52 -04:00
2016-09-05 02:21:50 +02:00
2016-10-24 15:52:05 +02:00
2016-09-05 02:22:37 +02:00
2016-06-02 10:40:19 +02:00
2016-10-26 21:53:58 +02:00
2016-09-27 21:49:58 +02:00
2016-10-26 21:53:58 +02:00
2016-04-08 23:53:46 +02:00
2016-10-30 22:00:02 +01:00
2015-10-01 18:10:08 +02:00
2016-10-30 22:00:02 +01:00