diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 18:28:40 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 18:28:40 -0700 |
| commit | dd8b03a5c55baf7349ce075c8f4cad1d59cbe988 (patch) | |
| tree | 6af6ce82cb6ba01a14bdfe9fb45df6d6d2be08f7 /node/Switch.cpp | |
| parent | 4d5983114ca28cdad919e2cd7e6e1b5453c3b18c (diff) | |
| download | infinitytier-dd8b03a5c55baf7349ce075c8f4cad1d59cbe988.tar.gz infinitytier-dd8b03a5c55baf7349ce075c8f4cad1d59cbe988.zip | |
Threading issue fix?
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index fce12622..952bdef8 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -719,7 +719,7 @@ bool Switch::_trySend(void *tPtr,Packet &packet,bool encrypt) } } } else { - return false; // if we are not in cluster mode, there is no way we can send without knowing the peer directly + return false; } unsigned int chunkSize = std::min(packet.size(),(unsigned int)ZT_UDP_DEFAULT_PAYLOAD_MTU); |
