Commit 20281806 authored by Alessandro Rubini's avatar Alessandro Rubini

tools: fix ptp-dump, broken by f9f487ff

Commit f9f487ff made ClockIdentity into a structure, but
I didn't rebuild the tools, which are affected by the type
definitions.  This fixes the building of ptpdump.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent c6ff3f0b
......@@ -95,7 +95,8 @@ void dump_1quality(char *s, ClockQuality *q)
void dump_1clockid(char *s, ClockIdentity i)
{
printf("%s%02x-%02x-%02x-%02x-%02x-%02x-%02x-%02x\n", s,
i[0], i[1], i[2], i[3], i[4], i[5], i[6], i[7]);
i.id[0], i.id[1], i.id[2], i.id[3],
i.id[4], i.id[5], i.id[6], i.id[7]);
}
void dump_1port(char *s, unsigned char *p)
......
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