summaryrefslogtreecommitdiff
path: root/node
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:05:14 -0700
commit10564d8e14caad915886ede59a54bcfc0c620f0b (patch)
treeb92e9b4253ba20c47d0a68bfc9c38c04de20adb2 /node
parent6320879fe15626cae513fabdd9d8f397637ce2d9 (diff)
downloadinfinitytier-10564d8e14caad915886ede59a54bcfc0c620f0b.tar.gz
infinitytier-10564d8e14caad915886ede59a54bcfc0c620f0b.zip
Init trusted path count to zero. Meh.
Diffstat (limited to 'node')
-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"));