From 3945a06851037989ee70e32e86d2ddab19ad1bdd Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Fri, 7 Mar 2014 14:30:38 +0000 Subject: [PATCH] added missing hdr position shift --- sys/net/network_layer/sixlowpan/lowpan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/network_layer/sixlowpan/lowpan.c b/sys/net/network_layer/sixlowpan/lowpan.c index a79d4413ad..cb44755b04 100644 --- a/sys/net/network_layer/sixlowpan/lowpan.c +++ b/sys/net/network_layer/sixlowpan/lowpan.c @@ -1435,6 +1435,7 @@ void lowpan_iphc_decoding(uint8_t *data, uint8_t length, net_if_eui64_t *s_addr, default: { memcpy(&(ipv6_buf->destaddr.uint8[0]), &ipv6_hdr_fields[hdr_pos], 16); + hdr_pos += 16; break; } }