Commit e3dd20bc authored by José Luis  Gutiérrez's avatar José Luis Gutiérrez

p2p: adding seconds field to cField for long paths

cfield shall include also the seconds field into the nanoseconds field
and multiplying it by 1e9.
parent 1a437d32
......@@ -342,6 +342,7 @@ int tc_send_fwd_followup(struct pp_instance *ppi, unsigned char *pkt,
(ppi->sync_egress.phase - ppi->sync_ingress.phase);
delay_ms = picos_to_ts(ppi->l_delay_ingress);
add_TimeInternal(&residence_time, &residence_time, &delay_ms);
residence_time.nanoseconds += residence_time.seconds * 1e9;
residence_time.phase += delay_ms.phase;
update_followup_cField(ppi, residence_time);
......
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