Commit 1fb5102c authored by Jonathon Duerig's avatar Jonathon Duerig

Fixed debugging statement. It needs to be unsigned rather than signed because...

Fixed debugging statement. It needs to be unsigned rather than signed because these are sequence numbers.
parent 42c38474
......@@ -70,7 +70,7 @@ void PacketSensor::localSend(PacketInfo * packet)
record.seqStart = startSequence;
/*
* Caclulate the packet payload size - we have to make sure to take into
* Calculate the packet payload size - we have to make sure to take into
* account IP and TCP option headers
*/
unsigned int sequenceLength =
......@@ -84,8 +84,8 @@ void PacketSensor::localSend(PacketInfo * packet)
record.totalLength = packet->packetLength;
record.timestamp = packet->packetTime;
logWrite(SENSOR,
"PacketSensor::localSend() new record: ss=%i,sl=%i,se=%i,tl=%i",
record.seqStart,sequenceLength,record.seqEnd,
"PacketSensor::localSend() new record: ss=%u,sl=%u,se=%u,tl=%u",
record.seqStart, sequenceLength, record.seqEnd,
record.totalLength);
globalSequence.seqEnd = record.seqEnd;
if (unacked.empty())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment