fix bug when deal invalid package

This commit is contained in:
hebo
2019-09-27 14:13:59 +08:00
parent b5dd173c01
commit e2a924c776
2 changed files with 6 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ func (nc *networkCard) listenNormal() {
time.Sleep(time.Second*3)
continue
}
// capture packets according to a certain probability
tcpCapturePacketRate := communicator.GetTCPCapturePacketRate()
if tcpCapturePacketRate <= 0 {