diff options
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r-- | node/Switch.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index f6e4d1ab..546c9157 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -761,11 +761,6 @@ bool Switch::_trySend(const Packet &packet,bool encrypt) return false; } - if (relay) { - peer->pushDirectPaths(viaPath->localAddress(),viaPath->address(),now,false); - viaPath->sent(now); - } - Packet tmp(packet); unsigned int chunkSize = std::min(tmp.size(),(unsigned int)ZT_UDP_DEFAULT_PAYLOAD_MTU); |