mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 01:53:51 +01:00
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
This commit is contained in:
parent
79a4acee43
commit
b272e904fd
@ -22,6 +22,6 @@
|
|||||||
void icmpv6_hdr_print(icmpv6_hdr_t *hdr)
|
void icmpv6_hdr_print(icmpv6_hdr_t *hdr)
|
||||||
{
|
{
|
||||||
printf(" type: %3" PRIu8 " code: %3" PRIu8 "\n", hdr->type, hdr->code);
|
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));
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user