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
{{ message }}
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
When I used go-netfilter-queue package, I get the following set of errors:
netfilter.go:88 cannot assign *C.struct_nfq_handle to nfq.h (type *[0]byte) in multiple assignment
netfilter.go:92 cannot use nfq.h (type *[0]byte) as type *C.struct_nfq_handle in argument to _C2func_nfq_unbind_pf
and the list goes on. It seems you can't cast between netfilter structures and *[0]byte structures. What am I doing wrong here?
Thanks,
Peter
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I used go-netfilter-queue package, I get the following set of errors:
netfilter.go:88 cannot assign *C.struct_nfq_handle to nfq.h (type *[0]byte) in multiple assignment
netfilter.go:92 cannot use nfq.h (type *[0]byte) as type *C.struct_nfq_handle in argument to _C2func_nfq_unbind_pf
and the list goes on. It seems you can't cast between netfilter structures and *[0]byte structures. What am I doing wrong here?
Thanks,
Peter
The text was updated successfully, but these errors were encountered: