diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-02 16:12:10 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-02 16:12:10 -0400 |
| commit | 58538500f26d6e362bac0275c11628222fdcac02 (patch) | |
| tree | d0e03d06167049f40402575280ed42cba66e2056 /node/Switch.cpp | |
| parent | b8a9b429931eedce28990571df1294b48e75edc2 (diff) | |
| download | infinitytier-58538500f26d6e362bac0275c11628222fdcac02.tar.gz infinitytier-58538500f26d6e362bac0275c11628222fdcac02.zip | |
Clean up some routine stuff like pings, and stop keeping links open forever even if there are no frames passing between them.
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index b1e5f624..f471700c 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -379,7 +379,7 @@ unsigned long Switch::doTimerTasks() void Switch::announceMulticastGroups(const std::map< SharedPtr<Network>,std::set<MulticastGroup> > &allMemberships) { std::vector< SharedPtr<Peer> > directPeers; - _r->topology->eachPeer(Topology::CollectPeersWithActiveDirectPath(directPeers)); + _r->topology->eachPeer(Topology::CollectPeersWithActiveDirectPath(directPeers,Utils::now())); #ifdef ZT_TRACE unsigned int totalMulticastGroups = 0; |
