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

parser.go: ipv6 address without network mask support #18

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

leonnicolas
Copy link
Collaborator

Before we would always add a /32 to ip addresses without a /. This would be wrong for ipv6 addresses. They have 128 network masks.

@leonnicolas
Copy link
Collaborator Author

hmm I think for this we have to update go to at least 1.18.

Fine with me

@MEschenbacher
Copy link
Contributor

I second it. go 1.18 was released more than two years ago.

Before we would always add a `/32` to ip addresses without a `/`. This
would be wrong for ipv6 addresses. They have 128 network masks.

Signed-off-by: leonnicolas <[email protected]>
@leonnicolas leonnicolas force-pushed the ipv6-without-network-mask branch from 49d0675 to b996c88 Compare April 2, 2024 14:43
@leonnicolas leonnicolas merged commit 3d9e685 into main Apr 2, 2024
2 checks passed
@leonnicolas leonnicolas deleted the ipv6-without-network-mask branch April 2, 2024 14:44
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.

2 participants