소스 검색

Minor thing, unrelated to bug but missing.

Adam Ierymenko 2 주 전
부모
커밋
bee3ea79f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      node/Switch.cpp

+ 1 - 1
node/Switch.cpp

@@ -962,7 +962,7 @@ void Switch::doAnythingWaitingForPeer(void* tPtr, const SharedPtr<Peer>& peer)
 		Mutex::Lock _l(_txQueue_m);
 		for (std::list<TXQueueEntry>::iterator txi(_txQueue.begin()); txi != _txQueue.end();) {
 			if (txi->dest == peer->address()) {
-				if (_trySend(tPtr, txi->packet, txi->encrypt, 0, txi->flowId)) {
+				if (_trySend(tPtr, txi->packet, txi->encrypt, txi->nwid, txi->flowId)) {
 					_txQueue.erase(txi++);
 				}
 				else {