summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-09 06:35:01 +0000
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-09 06:35:01 +0000
commit51aadcf9017c9c4b1c86302fa3bb65cc67dcc05b (patch)
tree0af3a3889ff4aa3e6c234f916a736e20d5f575e5 /node/Switch.cpp
parentf049740ae567fd4f4c855766869beb905b226a9b (diff)
downloadinfinitytier-51aadcf9017c9c4b1c86302fa3bb65cc67dcc05b.tar.gz
infinitytier-51aadcf9017c9c4b1c86302fa3bb65cc67dcc05b.zip
A few fixes dicatated by valgrind.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index 5c5130f4..eb1ebadb 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -50,6 +50,7 @@ namespace ZeroTier {
Switch::Switch(const RuntimeEnvironment *renv) :
RR(renv),
_lastBeaconResponse(0),
+ _lastCheckedQueues(0),
_lastUniteAttempt(8) // only really used on root servers and upstreams, and it'll grow there just fine
{
}