summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-21 16:18:49 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-21 16:18:49 -0700
commit39e1021f629188adec64bfe47170f4a874b490a2 (patch)
treefbd0608a92ebf6e7b7d13ce2f4077660bdacdf7a /node/Node.cpp
parent63ec19674c423b3d93185a690cff3f355c8d9c17 (diff)
downloadinfinitytier-39e1021f629188adec64bfe47170f4a874b490a2.tar.gz
infinitytier-39e1021f629188adec64bfe47170f4a874b490a2.zip
Replace certificate based gating of multicast like/gather with a simpler more efficient method, fix some minor issues with request based com/cert push, and clean up some other random stuff.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index c96ae8fd..3342e6ca 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -270,11 +270,13 @@ ZT_ResultCode Node::processBackgroundTasks(void *tptr,int64_t now,volatile int64
RR->topology->getUpstreamsToContact(alwaysContact);
// Uncomment to dump stats
+ /*
for(unsigned int i=0;i<32;i++) {
if (_stats.inVerbCounts[i] > 0)
printf("%.2x\t%12lld %lld\n",i,(unsigned long long)_stats.inVerbCounts[i],(unsigned long long)_stats.inVerbBytes[i]);
}
printf("\n");
+ */
// Check last receive time on designated upstreams to see if we seem to be online
int64_t lastReceivedFromUpstream = 0;