Minor thing, unrelated to bug but missing.
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run

This commit is contained in:
Adam Ierymenko 2025-08-21 18:47:41 -04:00
commit bee3ea79f0
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -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 {