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
Some types from nftables compatibility header are missing
in unix package and this change adds those missing types
Fixesgolang/go#40898
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm writing some code to be used with nftables (netlink), and found that not every nftables type is mapped in https://github.com/golang/sys/blob/release-branch.go1.15/unix/linux/types.go.
Mainly it suggests to add the /usr/include/linux/netfilter/nf_tables.h but not the
/usr/include/linux/netfilter/nf_tables_compat.h
What did you expect to see?
const identifications of other nftables syscall attributes (like
NFTA_MATCH_NAME
) also living in x/sys/unix packageWhat did you see instead?
No NFTA_MATCH_* (and others) exists in the unix package.
Thank you!
The text was updated successfully, but these errors were encountered: