diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-27 17:02:52 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-27 17:02:52 -0700 |
| commit | c231510f8b813eb73750f266dd18e836bc02d9cc (patch) | |
| tree | 357db3b9f7a0fdf52fe739d1daf15b7ebbe3c307 /node/NodeConfig.cpp | |
| parent | 2ac56fd120c3c9dd924fccc169beed2d51658ba9 (diff) | |
| download | infinitytier-c231510f8b813eb73750f266dd18e836bc02d9cc.tar.gz infinitytier-c231510f8b813eb73750f266dd18e836bc02d9cc.zip | |
More TCP-related fixes and tweaks to ping timing, resynchronize, and startup.
Diffstat (limited to 'node/NodeConfig.cpp')
| -rw-r--r-- | node/NodeConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp index 30438fc6..e2b1d974 100644 --- a/node/NodeConfig.cpp +++ b/node/NodeConfig.cpp @@ -210,7 +210,7 @@ void NodeConfig::_doCommand(IpcConnection *ipcc,const char *commandLine) // network environment changed and also less than ZT_PEER_LINK_ACTIVITY_TIMEOUT ago. bool isOnline = false; uint64_t now = Utils::now(); - uint64_t since = _r->timeOfLastNetworkEnvironmentChange; + uint64_t since = _r->timeOfLastResynchronize; std::vector< SharedPtr<Peer> > snp(_r->topology->supernodePeers()); for(std::vector< SharedPtr<Peer> >::const_iterator sn(snp.begin());sn!=snp.end();++sn) { uint64_t lastRec = (*sn)->lastDirectReceive(); |
