Commit 3e25eb3a authored by Aurelio Colosimo's avatar Aurelio Colosimo

trivial: msg delayreq was misspelled

Actually, no bugs in functionality, but diagnostic log was confusing.
parent 714abe20
......@@ -673,7 +673,7 @@ int msg_issue_delay_resp(struct pp_instance *ppi, TimeInternal *time)
msg_pack_delay_resp(ppi, &ppi->delay_req_hdr, &rcv_tstamp);
MSG_SEND_AND_RET(PDELAY_RESP, GEN, 0);
MSG_SEND_AND_RET(DELAY_RESP, GEN, 0);
}
/* Pack and send on event multicast ip adress a DelayResp message */
......
......@@ -67,18 +67,8 @@ int pp_slave(struct pp_instance *ppi, unsigned char *pkt, int plen)
e = (plen < PP_DELAY_REQ_LENGTH);
if (!e && ppi->is_from_self) {
/* Get sending timestamp from IP stack
* with So_TIMESTAMP */
ppi->delay_req_send_time.seconds =
time->seconds;
ppi->delay_req_send_time.nanoseconds =
time->nanoseconds;
/* Add latency */
add_TimeInternal(&ppi->delay_req_send_time,
&ppi->delay_req_send_time,
&OPTS(ppi)->outbound_latency);
/* No more used: delay_req_send_time was taken
* when sending it */
}
break;
......
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