diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2021-12-02 10:56:39 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-02-10 17:18:05 +0900 |
commit | 100253c7f0f4d105ae88340a0314506cde69cfd2 (patch) | |
tree | 2e839fd73cb3452aadc3be865baaf68cd24aef79 /coroutine | |
parent | 5221cb4468526a18875c21cff5dee5ac96d9873b (diff) | |
download | ruby-100253c7f0f4d105ae88340a0314506cde69cfd2.tar.gz |
[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
Diffstat (limited to 'coroutine')
0 files changed, 0 insertions, 0 deletions