Commit 15d9f801 authored by Alessandro Rubini's avatar Alessandro Rubini

state-master: use a common function

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 6eb65f72
......@@ -127,10 +127,7 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
break;
case PPM_PDELAY_REQ:
msg_copy_header(&ppi->pdelay_req_hdr,
&ppi->received_ptp_header);
msg_issue_pdelay_resp(ppi, &ppi->last_rcv_time);
msg_issue_pdelay_resp_followup(ppi, &ppi->last_snt_time);
st_com_peer_handle_preq(ppi, pkt, plen);
break;
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