mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-11 07:25:28 +08:00
fix bug when deal invalid package
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user