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 26, 2024. It is now read-only.
Just a heads-up:
A while back (2,5 years), GetDescs(n int) was changed to GetDescs(n int, rx bool).
It looks like the release was never updated to include this change, so the latest release still uses the old way GetDescs(n int)
I'm assuming this is the recommended way.
Also, as a result, folks copying the example from the repo will see an error.
The text was updated successfully, but these errors were encountered:
Just in case someone else has the same problem when following the example
# command-line-arguments
./sendudp.go:101:39: too many arguments in call to xsk.GetDescs
have (number, bool)
want (int)
./sendudp.go:130:47: too many arguments in call to xsk.GetDescs
have (int, bool)
want (int)
You can add the following to your go.mod , which will make sure you use a more recent version with the fix: github.com/asavie/xdp v0.3.4-0.20220212172814-56d71236a029
example: https://github.com/atoonk/go-pktgen/blob/main/go.mod#L6
Btw, this is not a problem if you clone the repo, in that case you have the latest code.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just a heads-up:
A while back (2,5 years),
GetDescs(n int)
was changed toGetDescs(n int, rx bool)
.It looks like the release was never updated to include this change, so the latest release still uses the old way
GetDescs(n int)
I'm assuming this is the recommended way.
Also, as a result, folks copying the example from the repo will see an error.
The text was updated successfully, but these errors were encountered: