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

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

Description

@peterfeifanchen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions