mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-11 00:06:11 +08:00
merge ranges
This commit is contained in:
@@ -117,7 +117,7 @@ func (nc *networkCard) listenNormal() {
|
||||
}
|
||||
|
||||
// throw packets according to a certain probability
|
||||
throwPacketRate := communicator.GetConfig(communicator.THROW_PACKET_RATE).(float64)
|
||||
throwPacketRate := communicator.GetThrowPacketRate()
|
||||
if throwPacketRate >= 1.0 {
|
||||
time.Sleep(time.Second*3)
|
||||
continue
|
||||
|
Reference in New Issue
Block a user