Skip to content

Commit

Permalink
Maintain the peer mean path delay field of the port data set.
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Cochran <[email protected]>
  • Loading branch information
richardcochran committed Dec 2, 2012
1 parent 28c08df commit 970bc7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions port.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,8 @@ static void port_peer_delay(struct port *p)

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)
Expand Down

0 comments on commit 970bc7f

Please sign in to comment.