mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
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.