-
Notifications
You must be signed in to change notification settings - Fork 99
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
Comparing an IPv4-address with IPv6-address failed #56
Comments
IPV4 Addresses and IPV6 Addresses are not compatible, so that comparison should not work |
Ok. Maybe it would be better to add a test for that and raise a proper exception? |
What about mapped IP4-addresses? |
+1 to fix, imho it would be more intuitive to return false instead of an exception:
P.S.: ipaddress (0.8.0) |
I'm doing some issue gardening 🌱🌿 🌷 and came upon this issue. Since it's quite old and haven't gotten much attention, I'll close it down. Feel free to open up a discussion under the 'Discussions' tab if you think this is a missing feature, and would like to gauge other peoples interest in the functionality. By closing some old issues we reduce the list of open issues to a more manageable set. I hope you understand! |
Hi there,
I'm tried the gem and the latest version of IPAddress from the git repository. In both cases I got an error when comparing an IPv4-address with an IPv6-address. Can you help me with suggestions to work around the problem?
The text was updated successfully, but these errors were encountered: