You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like an additional field was added to DecodeOptions in gopacket, and because Go's dependency management solution is to simply always download the latest version, go-netfilter-queue no longer builds. The extra field was added last October because it's "useful for testing".
$ go get github.com/kraman/go-netfilter-queue
# github.com/kraman/go-netfilter-queue
../../kraman/go-netfilter-queue/netfilter.go:147: too few values in struct initializer
A more future-proof solution would be to explicitly name the fields being initialized.
gopacket.DecodeOptions{Lazy: true, NoCopy: true}
The text was updated successfully, but these errors were encountered:
It looks like an additional field was added to
DecodeOptions
in gopacket, and because Go's dependency management solution is to simply always download the latest version, go-netfilter-queue no longer builds. The extra field was added last October because it's "useful for testing".A more future-proof solution would be to explicitly name the fields being initialized.
The text was updated successfully, but these errors were encountered: