-
Notifications
You must be signed in to change notification settings - Fork 92
-
Notifications
You must be signed in to change notification settings - Fork 92
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 IPv4 Mapped IPv6 Addresses don't parse #171
Comments
Yep that's a bug. |
can you fix it , and when? thanks @whitequark |
This library is passively maintained: if an acceptable fix is proposed I will merge it and release a new version. Otherwise no. |
It looks like the ipv6 parsing logic has changed in v2.2. According to the RFC, the format of "IPv4-Mapped IPv6 Address" is I am not a network engineer, so I don't know the actual situation, but wouldn't it be better to fix the logic of the parsing according to the RFC? If you have any other background, please let me know. |
The following calls throw exceptions:
ipaddr.IPv6.parse("FFFF::255.255.255.255")
throw :
Error: ipaddr: the address has neither IPv6 nor IPv4 format
but
ipaddr.IPv6.parser("FFFF::0:255.255.255.255") is ok!
I'm using version 2.1.0
The text was updated successfully, but these errors were encountered: