You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling native leaves the internal @mask_addr as its ipv6 mask instead of converting it to an ipv4 mask. This is most easily seen when calling prefix, but also breaks to_range and possibly other methods.
#ipv4_compat still returns an inconsistent mask. As it's been deprecated (in IETF and in this library), I don't think we need to maintain it.
However, this violation in object invariant ("the netmask must be consecutive 1s followed by consecutive 0s") may cause other problems and I'd propose fixing it like #ipv4_mapped if we cannot remove #ipv4_compat now.
Calling
native
leaves the internal@mask_addr
as its ipv6 mask instead of converting it to an ipv4 mask. This is most easily seen when callingprefix
, but also breaksto_range
and possibly other methods.Similarly,
ipv4_mapped
andipv4_compat
also fail to adjust@mask_addr
the other direction.The text was updated successfully, but these errors were encountered: