Project

General

Profile

« Previous | Next » 

Revision 100253c7

Added by byroot (Jean Boussier) over 3 years ago

[ruby/ipaddr] Ipaddr#native must also coerce @mask_addr

Before it would be left as an IPv6 mask causing to_range to fail.

>> IPAddr.new("::2").native.to_range
/opt/rubies/3.0.3/lib/ruby/3.0.0/ipaddr.rb:479:in `set': invalid address (IPAddr::InvalidAddressError)

https://github.com/ruby/ipaddr/commit/af485192f3