Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get conntrack err on arm machine, error is 'invalid argument' #945

Open
Optimistic-MXK opened this issue Jan 31, 2024 · 0 comments
Open

Comments

@Optimistic-MXK
Copy link

Optimistic-MXK commented Jan 31, 2024

have somebody find this question? i just want to get connect track of machine, code like this

`package main

import (
"github.com/aceld/zinx/zlog"
"github.com/vishvananda/netlink"
)

func main() {
ConntrackFlow, err := netlink.ConntrackTableList(netlink.ConntrackTable, netlink.FAMILY_ALL)
if err != nil {
zlog.Error(err)
return
}

for _, v := range ConntrackFlow {
	zlog.Info(v.String())
}

}
`

when i run it on arm32 machine, the os is openwrt , code just reply "invalid argument". do you have a solution?

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

No branches or pull requests

1 participant