summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-02 16:12:10 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-02 16:12:10 -0400
commit58538500f26d6e362bac0275c11628222fdcac02 (patch)
treed0e03d06167049f40402575280ed42cba66e2056 /node/Switch.cpp
parentb8a9b429931eedce28990571df1294b48e75edc2 (diff)
downloadinfinitytier-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.cpp2
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;