Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid
gopacket/pcap
import to ease builds
We want to avoid importing `gopacket/pcap`; it forces CGO_ENABLED=1, which makes cross-compilation more challenging, which makes publishing binaries more difficult. fixes, when running `bin/build`: ``` vendor/github.com/gopacket/gopacket/pcap/pcap.go:30:22: undefined: pcapErrorNotActivated ``` fixes, when running acceptance tests: ``` ../vendor/github.com/gopacket/gopacket/pcap/pcap_unix.go:35:10: fatal error: 'pcap.h' file not found ``` Signed-off-by: Brian Cunnie <[email protected]>
- Loading branch information