diff options
author | rm155 <[email protected]> | 2021-07-19 21:48:33 -0400 |
---|---|---|
committer | git <[email protected]> | 2022-09-08 14:09:06 +0900 |
commit | 70e6be2b055d78d3c475368d744c423564597f6e () | |
tree | f63b47e8f3e33d9fff4250155d176b4df19e88b2 /lib/ipaddr.rb | |
parent | e76a550876356093a0e48bd540ae80daafedcba0 (diff) |
[ruby/ipaddr] Improve Ractor-compliance
https://.com/ruby/ipaddr/commit/73461724e5
-rw-r--r-- | lib/ipaddr.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ class IPAddr # 128 bit mask for IPv6 IN6MASK = 0xffffffffffffffffffffffffffffffff # Format string for IPv6 - IN6FORMAT = (["%.4x"] * 8).join(':') # Regexp _internally_ used for parsing IPv4 address. RE_IPV4ADDRLIKE = %r{ @@ -736,7 +736,7 @@ end unless Socket.const_defined? :AF_INET6 class Socket < BasicSocket # IPv6 protocol family - AF_INET6 = Object.new end class << IPSocket |