Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

go-netfilter-queue/netfilter.go compile errors #272

Open
peterfeifanchen opened this issue Mar 17, 2015 · 0 comments
Open

go-netfilter-queue/netfilter.go compile errors #272

peterfeifanchen opened this issue Mar 17, 2015 · 0 comments

Comments

@peterfeifanchen
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant