Skip to content
Snippets Groups Projects
Commit e2125137 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

Merge pull request #5288 from cgundogan/pr/gnrc_sixlowpan/debug

gnrc_sixlowpan_ctx: use correct member for ctx id in debug
parents 82696da9 c0790aaa
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,8 @@ gnrc_sixlowpan_ctx_t *gnrc_sixlowpan_ctx_lookup_addr(const ipv6_addr_t *addr) ...@@ -61,7 +61,8 @@ gnrc_sixlowpan_ctx_t *gnrc_sixlowpan_ctx_lookup_addr(const ipv6_addr_t *addr)
#if ENABLE_DEBUG #if ENABLE_DEBUG
if (res != NULL) { if (res != NULL) {
DEBUG("6lo ctx: found context (%u, %s/%" PRIu8 ") ", res->id, DEBUG("6lo ctx: found context (%u, %s/%" PRIu8 ") ",
(res->flags_id & GNRC_SIXLOWPAN_CTX_FLAGS_CID_MASK),
ipv6_addr_to_str(ipv6str, &res->prefix, sizeof(ipv6str)), ipv6_addr_to_str(ipv6str, &res->prefix, sizeof(ipv6str)),
res->prefix_len); res->prefix_len);
DEBUG("for address %s\n", ipv6_addr_to_str(ipv6str, addr, sizeof(ipv6str))); DEBUG("for address %s\n", ipv6_addr_to_str(ipv6str, addr, sizeof(ipv6str)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment