diff --git a/sys/net/network_layer/ng_icmpv6/echo/ng_icmpv6_echo.c b/sys/net/network_layer/ng_icmpv6/echo/ng_icmpv6_echo.c index 2ae481ed7fc6bc3a63d9253e1ccfeb6a7401309a..95d44603063dc5eeae2d9b47998bd063bb918403 100644 --- a/sys/net/network_layer/ng_icmpv6/echo/ng_icmpv6_echo.c +++ b/sys/net/network_layer/ng_icmpv6/echo/ng_icmpv6_echo.c @@ -34,7 +34,7 @@ ng_pktsnip_t *ng_icmpv6_echo_build(uint8_t type, uint16_t id, uint16_t seq, DEBUG("icmpv6_echo: Building echo message with type=%" PRIu8 "id=%" PRIu16 ", seq=%" PRIu16, type, id, seq); echo = (ng_icmpv6_echo_t *)pkt->data; - echo->id = byteorder_htons(id >> 16); + echo->id = byteorder_htons(id); echo->seq = byteorder_htons(seq); if (data != NULL) {