/*
- * $Id: peer_select.cc,v 1.118 2001/11/15 01:17:29 hno Exp $
+ * $Id: peer_select.cc,v 1.119 2001/11/17 11:08:55 hno Exp $
*
* DEBUG: section 44 Peer Selection Algorithm
* AUTHOR: Duane Wessels
return;
rtt = tvSubMsec(ps->ping.start, current_time) / p->weight;
if (ps->first_parent_miss.sin_addr.s_addr == any_addr.s_addr ||
- rtt < ps->ping.w_rtt) {
+ rtt < ps->ping.w_rtt) {
ps->first_parent_miss = p->in_addr;
ps->ping.w_rtt = rtt;
}
return;
rtt = tvSubMsec(ps->ping.start, current_time) / p->weight;
if (ps->first_parent_miss.sin_addr.s_addr == any_addr.s_addr ||
- rtt < ps->ping.w_rtt) {
+ rtt < ps->ping.w_rtt) {
ps->first_parent_miss = p->in_addr;
ps->ping.w_rtt = rtt;
}