Skip to content

Commit

Permalink
Not actually a bad packet when there are no more packets
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Sep 26, 2024
1 parent 3b4a15f commit cd14a7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sslSniffer/sslSnifferTest/snifftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,6 @@ int main(int argc, char** argv)
/* grab next pcap packet */
packetNumber++;
if(pcap_next_ex(pcap, &header, &packet) < 0) {
hadBadPacket = 1;
break;
}
}
Expand Down

0 comments on commit cd14a7b

Please sign in to comment.