diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-04-07 16:41:28 +0000 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-04-07 16:41:28 +0000 |
| commit | 9085a04b165dc2a2c7c77091e507fdd98757d363 (patch) | |
| tree | 51790b8db47bfd8ad39b800bd365cf3d8b122466 /node/Switch.cpp | |
| parent | c7df61a3c32d66b31f047602da9ce982164c6757 (diff) | |
| parent | c278f051817719fc3c4bbda0e13c279ce44f0966 (diff) | |
| download | infinitytier-9085a04b165dc2a2c7c77091e507fdd98757d363.tar.gz infinitytier-9085a04b165dc2a2c7c77091e507fdd98757d363.zip | |
Merge branch 'dev' of http://git.int.zerotier.com:/zerotier/ZeroTierOne into dev
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 890a9465..968d1a4a 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -138,7 +138,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from // seeing a Packet::Fragment? Mutex::Lock _l(_rxQueue_m); - RXQueueEntry *const rq = _findRXQueueEntry(fragmentPacketId); + RXQueueEntry *const rq = _findRXQueueEntry(now,fragmentPacketId); if ((!rq->timestamp)||(rq->packetId != fragmentPacketId)) { // No packet found, so we received a fragment without its head. @@ -241,7 +241,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from // Packet is the head of a fragmented packet series Mutex::Lock _l(_rxQueue_m); - RXQueueEntry *const rq = _findRXQueueEntry(packetId); + RXQueueEntry *const rq = _findRXQueueEntry(now,packetId); if ((!rq->timestamp)||(rq->packetId != packetId)) { // If we have no other fragments yet, create an entry and save the head |
