Skip to content

Commit

Permalink
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Feb 7, 2017
1 parent 79a4ace commit b272e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/network_layer/icmpv6/icmpv6_hdr_print.c
Expand Up @@ -22,6 +22,6 @@
void icmpv6_hdr_print(icmpv6_hdr_t *hdr)
{
printf(" type: %3" PRIu8 " code: %3" PRIu8 "\n", hdr->type, hdr->code);
printf(" cksum: 0x4%" PRIx16 "\n", byteorder_ntohs(hdr->csum));
printf(" cksum: 0x%04" PRIx16 "\n", byteorder_ntohs(hdr->csum));
}
/** @} */

0 comments on commit b272e90

Please sign in to comment.