Maintain the peer mean path delay field of the port data set.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-12-02 20:48:29 +01:00
parent 28c08dfac6
commit 970bc7f95c
1 changed files with 2 additions and 0 deletions

2
port.c
View File

@ -1245,6 +1245,8 @@ calc:
p->peer_delay = mave_accumulate(p->avg_delay, pd);
p->peerMeanPathDelay = tmv_to_TimeInterval(p->peer_delay);
pr_debug("pdelay %hu %10lld %10lld", portnum(p), p->peer_delay, pd);
if (p->pod.follow_up_info)