changing the print outs

This commit is contained in:
Dhanya Maliakal 2016-02-08 10:40:33 +01:00
parent 0c9806e17f
commit 5afb38c1ec

View File

@ -2534,7 +2534,7 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer[]){
//statistics
FILE_LOG(logINFO) << "Status: Run Finished";
if(totalPacketsCaught != ((uint64_t)numberOfFrames*packetsPerFrame)){
if(totalPacketsCaught < ((uint64_t)numberOfFrames*packetsPerFrame)){
cprintf(RED, "Total Missing Packets padded: %d\n",numTotMissingPackets);
cprintf(RED, "Total Packets Caught: %lld\n",(long long int)totalPacketsCaught);
cprintf(RED, "Total Frames Caught: %lld\n",(long long int)(totalPacketsCaught/packetsPerFrame));