1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

icmpv6: fix formatter of checksum in icmpv6_hdr_print()

This commit is contained in:
Martine Lenders 2017-02-07 10:07:41 +01:00
parent 79a4acee43
commit b272e904fd

View File

@ -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));
}
/** @} */