diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-28 11:43:09 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-28 11:43:09 -0700 |
| commit | 708aac1ea73a01fd81997a7215824dab832ba3d3 (patch) | |
| tree | c6a8833a5f18b28b4adabf35d9443de98c6a2dbe /node/Peer.cpp | |
| parent | 17bfd4d55e96390147e2804b81c08985816ac4cd (diff) | |
| download | infinitytier-708aac1ea73a01fd81997a7215824dab832ba3d3.tar.gz infinitytier-708aac1ea73a01fd81997a7215824dab832ba3d3.zip | |
Remove some left over debug code, and fix attempt to send to self if we are an active bridge.
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index 2bfd421f..3cf0ec4e 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -226,7 +226,7 @@ void Peer::doPingAndKeepalive(const RuntimeEnvironment *RR,uint64_t now) void Peer::pushDirectPaths(const RuntimeEnvironment *RR,RemotePath *path,uint64_t now,bool force) { - if ((true)||(((now - _lastDirectPathPush) >= ZT_DIRECT_PATH_PUSH_INTERVAL)||(force))) { + if (((now - _lastDirectPathPush) >= ZT_DIRECT_PATH_PUSH_INTERVAL)||(force)) { _lastDirectPathPush = now; std::vector<Path> dps(RR->node->directPaths()); |
