Refactor path stability stuff and add basic multipath support.
This commit is contained in:
parent
0d8b8d8426
commit
459f1e7bfb
14 changed files with 379 additions and 362 deletions
|
@ -300,7 +300,7 @@ public:
|
|||
SharedPtr<Peer> *p = (SharedPtr<Peer> *)0;
|
||||
while (i.next(a,p)) {
|
||||
const SharedPtr<Path> pp((*p)->getBestPath(now,false));
|
||||
if ((pp)&&(pp->alive(now)))
|
||||
if (pp)
|
||||
++cnt;
|
||||
}
|
||||
return cnt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue