Commit 9ff7f9cd authored by Alessandro Rubini's avatar Alessandro Rubini

time-unix: if verbose-frames is 2, ptpdump the udp frames

This bug was introduced in commit

   4c6953fb unix and wrs socket: open in non-blocking mode and report ...

because I unwillingly removed the ptpdump feature for outbount udp
frames. This puts back in place the lost message.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 0e0abb05
......@@ -264,6 +264,8 @@ static int unix_net_send(struct pp_instance *ppi, void *pkt, int len,
strerror(errno));
return ret;
}
if (pp_diag_allow(ppi, frames, 2))
dump_payloadpkt("send: ", pkt, len, t);
return ret;
default:
......
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