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

Update google/gopacket library #3606

Merged
merged 2 commits into from
Sep 23, 2019
Merged

Update google/gopacket library #3606

merged 2 commits into from
Sep 23, 2019

Conversation

bboreham
Copy link
Collaborator

To pick up a fix google/gopacket#589 for Go 1.12

@dholbach
Copy link
Contributor

I retried the integration-tests, but looks like they're broken for some reason.

@fbarl
Copy link
Contributor

fbarl commented May 17, 2019

@bboreham Was there an issue manifestation in Scope that motivated this PR?

@bboreham
Copy link
Collaborator Author

Was there an issue manifestation in Scope that motivated this PR?

Scope's build is still using an older Go, but on my dev machine with Go 1.12 this change is needed to compile.

The previous code seems to be relying on a 64-bit to 32-bit conversion
working in a certain way; when gopacket was changed to cast the value
explicitly it starts returning immeditely from pcap.
@bboreham
Copy link
Collaborator Author

I found the unlikely reason for the test failure.

Copy link
Contributor

@satyamz satyamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I ran tests on Go 1.10.

@satyamz satyamz merged commit e7e9e97 into master Sep 23, 2019
@satyamz satyamz deleted the update-gopacket branch September 23, 2019 10:41
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

Successfully merging this pull request may close these issues.

4 participants