PDP10, PDP11, VAX: Fixed Sync Data corruption Troll to actually discard transmit packets which it thinks it wants to.

This commit is contained in:
Mark Pizzolato 2014-05-31 13:24:49 -07:00
parent 779e2437bd
commit a8a0182f74

View file

@ -379,6 +379,9 @@ if (!ddcmp_feedCorruptionTroll (lp, lp->txpb, FALSE, corruptrate)) {
++lp->txppoffset;
tmxr_send_buffered_data (lp);
}
else {/* Packet eaten, so discard it */
lp->txppoffset = lp->txppsize; /* Act like all data was sent */
}
return lp->conn ? SCPE_OK : SCPE_LOST;
}