Lennon Day Reynolds пре 3 месеци
родитељ
комит
4e0174cebb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      node/Switch.cpp

+ 1 - 1
node/Switch.cpp

@@ -1041,10 +1041,10 @@ unsigned long Switch::doTimerTasks(void* tPtr, int64_t now)
 		Mutex::Lock rql(rq->lock);
 		if ((rq->timestamp) && (rq->complete)) {
 			if ((rq->frag0.tryDecode(RR, tPtr, rq->flowId)) || ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT)) {
-				rq->timestamp = 0;
 				if ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT) {
 					Metrics::vl1_incomplete_reassembly_rx++;
 				}
+				rq->timestamp = 0;
 			}
 			else {
 				const Address src(rq->frag0.source());