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

IPv6 canonicalization failures #92

Conversation

sebastian-nagel
Copy link
Contributor

  • :: must not be used to shorten just one 16-bit 0 field
  • same-length sequence of 0 fields in initial position is not shortened

Just the unit test. Examples taken from Guava InetAddressesTest.java, line 329

- :: must not be used to shorten just one 16-bit 0 field
- same-length sequence of 0 fields in initial position is not shortened
ato added a commit that referenced this pull request Nov 22, 2024
@ato
Copy link
Member

ato commented Nov 22, 2024

Oops. Thanks. I've added these in and replaced my broken version with Guava's implementation. I should have just done that in the first place. At first glance I'd thought it looked too dependent on the rest of Guava to easily extract but it actually wasn't too bad.

@ato ato closed this Nov 22, 2024
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