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

Skip SetChecksum on Windows #24

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

rtpt-erikgeiser
Copy link
Contributor

This PR fixes #23 by skipping the call to (*icmp.PacketConn).SetChecksum in Dial when GOOS is "windows".

@mdlayher
Copy link
Owner

LGTM.

@mdlayher mdlayher merged commit 66aaad7 into mdlayher:master Jun 22, 2021
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.

ndp.Dial uses (*icmp.PacketConn).SetChecksum which is not implemented on Windows
2 participants