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

Support 'mixed' IPv6 representations #12

Closed
Tracked by #22
Porges opened this issue Jul 1, 2017 · 2 comments · Fixed by #37
Closed
Tracked by #22

Support 'mixed' IPv6 representations #12

Porges opened this issue Jul 1, 2017 · 2 comments · Fixed by #37

Comments

@Porges
Copy link
Contributor

Porges commented Jul 1, 2017

RFC4291 specifies a "mixed" IPv6 syntax that is not currently supported:

  1. An alternative form that is sometimes more convenient when dealing
    with a mixed environment of IPv4 and IPv6 nodes is
    x:x:x:x:x:x:d.d.d.d, where the 'x's are the hexadecimal values of
    the six high-order 16-bit pieces of the address, and the 'd's are
    the decimal values of the four low-order 8-bit pieces of the
    address (standard IPv4 representation). Examples:

     `0:0:0:0:0:0:13.1.68.3`
    
     `0:0:0:0:0:FFFF:129.144.52.38`
    

    or in compressed form:

     `::13.1.68.3`
    
     `::FFFF:129.144.52.38`
    
@andrewthad
Copy link
Member

I would gladly take a PR adding support for this.

@Porges
Copy link
Contributor Author

Porges commented Jun 22, 2018

There you go 😁

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 a pull request may close this issue.

2 participants