Skip to content

Conversation

@karenetheridge
Copy link
Member

I found a bug in my implementation 🐙 -- "127.0.0.1" was matching as an ipv6, because the number of octets was not being counted!

@karenetheridge karenetheridge requested a review from a team July 11, 2020 02:37
@karenetheridge karenetheridge marked this pull request as draft July 11, 2020 02:41
@karenetheridge karenetheridge force-pushed the ether/more-ipv6-tests branch 3 times, most recently from 0366226 to 91da7ae Compare July 11, 2020 03:32
@karenetheridge karenetheridge marked this pull request as ready for review July 11, 2020 17:21
@karenetheridge karenetheridge force-pushed the ether/more-ipv6-tests branch from 91da7ae to 4a4384a Compare July 12, 2020 00:16
},
{
"description": "ipv4-mapped ipv6 address",
"data": "::ffff:192.168.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

This isn't already covered by "mixed format with the ipv4 section as decimal octets"?

Copy link
Member Author

Choose a reason for hiding this comment

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

not quite.. I'll amend the test description.

},
{
"description": "missing leading octet is invalid",
"data": ":2:3:4:5:6:7:8",
Copy link
Member

Choose a reason for hiding this comment

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

Might be a bit clearer if these tests were right next to the valid versions of them? (I.e. double leading colons and double trailing colons)?

Copy link
Member Author

Choose a reason for hiding this comment

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

ok.

Copy link
Member

@Julian Julian left a comment

Choose a reason for hiding this comment

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

Think these mostly seem good. 2 minor comments, but otherwise -- can you backport these? And then likely lgtm.

@karenetheridge
Copy link
Member Author

right, I forgot that ipv6 is defined in earlier drafts too :) backported as far as draft4. squash commit added.

@Julian
Copy link
Member

Julian commented Jul 13, 2020

lgtm!

@karenetheridge karenetheridge force-pushed the ether/more-ipv6-tests branch from e6819c9 to 04ddab1 Compare July 13, 2020 19:07
@karenetheridge karenetheridge merged commit 5f3dc7e into master Jul 13, 2020
@karenetheridge karenetheridge deleted the ether/more-ipv6-tests branch July 13, 2020 19:07
@karenetheridge
Copy link
Member Author

rebased, squashed, merged.

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.

3 participants