Checksum failure logging to stderr for debugging

This commit is contained in:
Paul Hollinsky
2019-11-06 10:24:55 -05:00
parent f0582697a6
commit f16ee630ee
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ private:
int headerSize = 0;
bool checksum = false;
bool gotGoodPackets = false; // Tracks whether we've ever gotten a good packet
Packet packet;
Packet packet, previousPacket;
std::deque<uint8_t> bytes;
std::vector<std::shared_ptr<Packet>> processedPackets;