mosajjal/dnsmonster

Compilation failed on MacOS M1

danielloader opened this issue · 1 comments

Sorry to raise this but I'm failing to compile the main branch.

Error:

go build -o dnsmonster .
# github.com/mosajjal/dnsmonster/capture
capture/livecap_bsd.go:69:26: h.sniffer.Stats undefined (type bsdbpf.BPFSniffer has no field or method Stats)

Mac OS 12.6
Go 1.19.3 darwin/arm64

fixed in latest commit/release.