-
-
Notifications
You must be signed in to change notification settings - Fork 219
some more ipv6 tests #415
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
some more ipv6 tests #415
Conversation
0366226
to
91da7ae
Compare
91da7ae
to
4a4384a
Compare
}, | ||
{ | ||
"description": "ipv4-mapped ipv6 address", | ||
"data": "::ffff:192.168.0.1", |
There was a problem hiding this comment.
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"
?
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.
There was a problem hiding this 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.
right, I forgot that ipv6 is defined in earlier drafts too :) backported as far as draft4. squash commit added. |
lgtm! |
e6819c9
to
04ddab1
Compare
rebased, squashed, merged. |
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!