Skip to content

Commit

Permalink
fix on win build
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed Jan 20, 2021
1 parent 1a4350d commit 6c03b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/afpacket_nonlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (h *afpacketHandle) Close() {
}

func updateAfpacketStats(afhandle *afpacketHandle) {
myStats.PacketsGot = 0
myStats.PacketsLost = 0
pcapStats.PacketsGot = 0
pcapStats.PacketsLost = 0
}

func initializeLiveAFpacket(devName, filter string) *afpacketHandle {
Expand Down

0 comments on commit 6c03b79

Please sign in to comment.