Fix silly bug in retransmit code

half-duplex
Phil Taylor 2021-11-18 14:09:09 +00:00
rodzic 9f0673ae71
commit 4743cd126b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1140,7 +1140,7 @@ void udpBase::dataReceived(QByteArray r)
if (match == txSeqBuf.end()) {
qDebug(logUdp()) << this->metaObject()->className() << ": Requested packet " << hex << seq << " not found";
// Just send idle packet.
sendControl(false, 0, match->seqNum);
sendControl(false, 0, seq);
}
else {
// Found matching entry?