summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-21 19:05:14 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-21 19:06:18 -0700
commitf21af60a136940b4da6823cb6b34e2368662c37c (patch)
treeb3c7d2c96c0b147e9bf1b2cb5f37f890d7f1a2ad
parent095aef5f30f634416dac2faa061f69e49c0bc729 (diff)
downloadinfinitytier-f21af60a136940b4da6823cb6b34e2368662c37c.tar.gz
infinitytier-f21af60a136940b4da6823cb6b34e2368662c37c.zip
Init trusted path count to zero. Meh.
-rw-r--r--node/Topology.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Topology.cpp b/node/Topology.cpp
index 4105eae9..6e96f2eb 100644
--- a/node/Topology.cpp
+++ b/node/Topology.cpp
@@ -44,6 +44,7 @@ static const unsigned char ZT_DEFAULT_WORLD[ZT_DEFAULT_WORLD_LENGTH] = {0x01,0x0
Topology::Topology(const RuntimeEnvironment *renv) :
RR(renv),
+ _trustedPathCount(0),
_amRoot(false)
{
std::string alls(RR->node->dataStoreGet("peers.save"));