Commit e5208da1 authored by Aurelio Colosimo's avatar Aurelio Colosimo

tools/dump-funcs.c: fix correction field format print

correction field is not printed as hex value, so do not prepend
it with 0x.
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 327c5754
......@@ -168,7 +168,7 @@ static void dump_payload(char *prefix, void *pl, int len)
printf("%sVERSION: %i (type %i, len %i, domain %i)\n", prefix,
version, messageType,
ntohs(h->messageLength), h->domainNumber);
printf("%sFLAGS: 0x%04x (correction 0x%08lu)\n", prefix, h->flagField,
printf("%sFLAGS: 0x%04x (correction %08lu)\n", prefix, h->flagField,
(unsigned long)h->correctionField);
dump_1port(prefix, "PORT: ", h->sourcePortIdentity);
printf("%sREST: seq %i, ctrl %i, log-interval %i\n", prefix,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment